annotate Agendas/trunk/src/Agendas.Web/Views/Perfil/Index.cshtml @ 179:1deccd6c3cb2

Aplicando seguridad x roles en sitio web
author nelopauselli
date Mon, 08 Aug 2011 15:24:26 -0300
parents 97e51ddeeb58
children
rev   line source
112
0bca45e1e664 Pantalla de Perfil donde se puede asociar la cuenta de twitter al usuario existente
Nelo@Kenia.neluz.int
parents:
diff changeset
1 @model AltNetHispano.Agendas.Web.Models.PerfilIndexModel
0bca45e1e664 Pantalla de Perfil donde se puede asociar la cuenta de twitter al usuario existente
Nelo@Kenia.neluz.int
parents:
diff changeset
2 <h2>Perfil</h2>
168
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
3 <div id="content">
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
4 <p>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
5 Hola @Model.DisplayName, tu mail registrado es @Html.DisplayFor(m=>m.Email), tu blog @Html.DisplayFor(m=>m.Blog) y estas tus cuentas registradas
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
6 </p>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
7 <table>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
8 <thead>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
9 <tr>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
10 <th>Proveedor</th>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
11 <th>username</th>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
12 <th>Acciones</th>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
13 </tr>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
14 </thead>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
15 <tbody>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
16 @foreach (var item in Model.Cuentas)
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
17 {
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
18 <tr>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
19 <td>@item.IdentityProvider</td>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
20 <td>@item.UserName</td>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
21 <td class="buttons">
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
22 @Html.ActionLink("Quitar", "Remove", new { identityProvider = item.IdentityProvider, userName = item.UserName })
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
23 </td>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
24 </tr>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
25 }
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
26 </tbody>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
27 </table>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
28 </div>
112
0bca45e1e664 Pantalla de Perfil donde se puede asociar la cuenta de twitter al usuario existente
Nelo@Kenia.neluz.int
parents:
diff changeset
29
168
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
30 <div class="buttons">
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
31 @Html.ActionLink("Asociar cuenta de Twitter", "AddTwitterAccount")
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
32 <!--
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
33 <br/>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
34 @Html.ActionLink("Asociar cuenta de Google", "AddGoogleAccount")
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
35 -->
179
1deccd6c3cb2 Aplicando seguridad x roles en sitio web
nelopauselli
parents: 168
diff changeset
36 @Html.ActionLink("Modificar datos", "Modificar")
168
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 142
diff changeset
37 </div>
115
7a2eeb9e9bf9 Crear cuenta interna asociada
Nelo@Kenia.neluz.int
parents: 113
diff changeset
38 <br/>