view Agendas/trunk/src/Agendas.Web/Views/Perfil/Index.cshtml @ 115:7a2eeb9e9bf9

Crear cuenta interna asociada
author Nelo@Kenia.neluz.int
date Sun, 12 Jun 2011 01:40:09 -0300
parents 0eac9a1c1a6c
children 62dc9fb3a03e
line wrap: on
line source

@model AltNetHispano.Agendas.Web.Models.PerfilIndexModel
<h2>Perfil</h2>
<p>
    Hola @Model.DisplayName, estas son 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>
				@Html.ActionLink("Quitar", "Remove", new { identityProvider = item.IdentityProvider, userName = item.UserName })
			</td>
        </tr>
        }
    </tbody>
</table>

<p>
@Html.ActionLink("Asociar cuenta de Twitter", "AddTwitterAccount")
<br/>
@Html.ActionLink("Asociar cuenta de interna", "AddBuiltInAccount")
<br/>
@Html.ActionLink("Crear cuenta interna asociada", "Register", "Account", new { returnUrl = Url.Action("Index") }, null)
</p>