annotate Agendas/trunk/src/Agendas.Web/Views/Evento/Index.cshtml @ 168:97e51ddeeb58

Cambios menores en UI
author nelopauselli
date Sat, 06 Aug 2011 03:34:45 -0300
parents 6f1041301797
children 3095a0b960c8
rev   line source
34
475be11edf56 Ajuste en los nombre de los assemblies y namespaces
nelo@MTEySS.neluz.int
parents: 25
diff changeset
1 @model AltNetHispano.Agendas.Web.Models.EventoIndexModel
48
08dbe42fdde1 Cambios menores en UI
nelopauselli
parents: 34
diff changeset
2 <h2>Agenda</h2>
25
e8d2be47a6b0 Cambios de nombre en Portal.Web (Agenda x Evento)
nelo@MTEySS.neluz.int
parents:
diff changeset
3 <p>
e8d2be47a6b0 Cambios de nombre en Portal.Web (Agenda x Evento)
nelo@MTEySS.neluz.int
parents:
diff changeset
4 Los próximos eventos son:
e8d2be47a6b0 Cambios de nombre en Portal.Web (Agenda x Evento)
nelo@MTEySS.neluz.int
parents:
diff changeset
5 </p>
168
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
6 <div id="content">
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
7 <table>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
8 <thead>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
9 <tr>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
10 <th>Fecha</th>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
11 <th>Evento</th>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
12 <th>Estado</th>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
13 <th>Acciones</th>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
14 </tr>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
15 </thead>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
16 <tbody>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
17 @foreach (var item in Model.ProximosEventos)
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
18 {
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
19 <tr>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
20 <td>@item.Fecha</td>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
21 <td>@item.Titulo</td>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
22 <td>@item.Estado</td>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
23 <td class="buttons">
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
24 @if (item.PuedeAgendar)
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
25 {
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
26 @Html.ActionLink("Agendar", "Agendar", "Evento", new {id = item.Id}, null)
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
27 <span>&nbsp;</span>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
28 }
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
29 @if (item.PuedeModificar)
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
30 {
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
31 @Html.ActionLink("Modificar", "Modificar", new { id = item.Id })
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
32 <span>&nbsp;</span>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
33 }
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
34 @if (item.PuedeConfirmar)
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
35 {
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
36 @Html.ActionLink("Confirmar", "Confirmar", new { id = item.Id })
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
37 <span>&nbsp;</span>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
38 }
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
39 @if (item.PuedePublicar)
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
40 {
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
41 @Html.ActionLink("Publicar", "Publicar", new { id = item.Id })
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
42 <span>&nbsp;</span>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
43 }
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
44 @if (item.PuedeCancelar)
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
45 {
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
46 @Html.ActionLink("Cancelar", "Cancelar", new { id = item.Id })
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
47 <span>&nbsp;</span>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
48 }
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
49 @if (item.PuedeDescartar)
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
50 {
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
51 @Html.ActionLink("Descartar", "Descartar", new { id = item.Id })
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
52 <span>&nbsp;</span>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
53 }
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
54 @if (item.PuedeReAgendar)
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
55 {
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
56 @Html.ActionLink("Re-Agendar", "ReAgendar", new { id = item.Id })
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
57 <span>&nbsp;</span>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
58 }
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
59 @if (item.PuedeReProponer)
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
60 {
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
61 @Html.ActionLink("Re-Proponer", "ReProponer", new { id = item.Id })
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
62 <span>&nbsp;</span>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
63 }
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
64 </td>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
65 </tr>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
66 }
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
67 </tbody>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
68 </table>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
69 </div>
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
70 <div class="buttons">
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
71 @Html.ActionLink("Nuevo", "Nuevo")
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
72 @Html.ActionLink("Proponer", "Proponer")
97e51ddeeb58 Cambios menores en UI
nelopauselli
parents: 133
diff changeset
73 </div>