view Agendas/trunk/src/Agendas.Web/Views/Perfil/Index.cshtml @ 168:97e51ddeeb58

Cambios menores en UI
author nelopauselli
date Sat, 06 Aug 2011 03:34:45 -0300
parents 62dc9fb3a03e
children 1deccd6c3cb2
line wrap: on
line source

@model AltNetHispano.Agendas.Web.Models.PerfilIndexModel
<h2>Perfil</h2>
<div id="content">
	<p>
		Hola @Model.DisplayName, tu mail registrado es @Html.DisplayFor(m=>m.Email), tu blog @Html.DisplayFor(m=>m.Blog) y estas tus cuentas registradas
	</p>
	<table>
		<thead>
			<tr>
				<th>Proveedor</th>
				<th>username</th>
				<th>Acciones</th>
			</tr>
		</thead>
		<tbody>
			@foreach (var item in Model.Cuentas)
			{
			<tr>
				<td>@item.IdentityProvider</td>
				<td>@item.UserName</td>
				<td class="buttons">
					@Html.ActionLink("Quitar", "Remove", new { identityProvider = item.IdentityProvider, userName = item.UserName })
				</td>
			</tr>
			}
		</tbody>
	</table>
</div>

<div class="buttons">
	@Html.ActionLink("Asociar cuenta de Twitter", "AddTwitterAccount")
	<!--
	<br/>
	@Html.ActionLink("Asociar cuenta de Google", "AddGoogleAccount")
	-->
	@Html.ActionLink("Modificar datos", "Modificar", "Persona", new {id=Model.Id}, null)
</div>
<br/>