Mercurial > altnet-hispano
comparison Agendas/trunk/src/Agendas.Web/Views/Evento/Index.cshtml @ 173:3095a0b960c8
Ticket 153: UI de Publicar. Se agregó ui-button-confirm a botones que requieren confirmación y el comportamiento.
author | juanjose.montesdeocaarbos |
---|---|
date | Mon, 08 Aug 2011 06:13:34 -0300 |
parents | 97e51ddeeb58 |
children | 784d81e32366 |
comparison
equal
deleted
inserted
replaced
172:a18d4d12fc36 | 173:3095a0b960c8 |
---|---|
21 <td>@item.Titulo</td> | 21 <td>@item.Titulo</td> |
22 <td>@item.Estado</td> | 22 <td>@item.Estado</td> |
23 <td class="buttons"> | 23 <td class="buttons"> |
24 @if (item.PuedeAgendar) | 24 @if (item.PuedeAgendar) |
25 { | 25 { |
26 @Html.ActionLink("Agendar", "Agendar", "Evento", new {id = item.Id}, null) | 26 @Html.ActionLink("Agendar", "Agendar", "Evento", new { id = item.Id }, null) |
27 <span> </span> | 27 <span> </span> |
28 } | 28 } |
29 @if (item.PuedeModificar) | 29 @if (item.PuedeModificar) |
30 { | 30 { |
31 @Html.ActionLink("Modificar", "Modificar", new { id = item.Id }) | 31 @Html.ActionLink("Modificar", "Modificar", new { id = item.Id }) |
32 <span> </span> | 32 <span> </span> |
33 } | 33 } |
34 @if (item.PuedeConfirmar) | 34 @if (item.PuedeConfirmar) |
35 { | 35 { |
36 @Html.ActionLink("Confirmar", "Confirmar", new { id = item.Id }) | 36 @Html.ActionLink("Confirmar", "Confirmar", new { id = item.Id }, new { @class = "ui-button-confirm" }) |
37 <span> </span> | 37 <span> </span> |
38 } | 38 } |
39 @if (item.PuedePublicar) | 39 @if (item.PuedePublicar) |
40 { | 40 { |
41 @Html.ActionLink("Publicar", "Publicar", new { id = item.Id }) | 41 @Html.ActionLink("Publicar", "Publicar", new { id = item.Id }) |
42 <span> </span> | 42 <span> </span> |
43 } | 43 } |
44 @if (item.PuedeCancelar) | 44 @if (item.PuedeCancelar) |
45 { | 45 { |
46 @Html.ActionLink("Cancelar", "Cancelar", new { id = item.Id }) | 46 @Html.ActionLink("Cancelar", "Cancelar", new { id = item.Id }, new { @class = "ui-button-confirm"}) |
47 <span> </span> | 47 <span> </span> |
48 } | 48 } |
49 @if (item.PuedeDescartar) | 49 @if (item.PuedeDescartar) |
50 { | 50 { |
51 @Html.ActionLink("Descartar", "Descartar", new { id = item.Id }) | 51 @Html.ActionLink("Descartar", "Descartar", new { id = item.Id }, new { @class = "ui-button-confirm"}) |
52 <span> </span> | 52 <span> </span> |
53 } | 53 } |
54 @if (item.PuedeReAgendar) | 54 @if (item.PuedeReAgendar) |
55 { | 55 { |
56 @Html.ActionLink("Re-Agendar", "ReAgendar", new { id = item.Id }) | 56 @Html.ActionLink("Re-Agendar", "ReAgendar", new { id = item.Id }) |