Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Web/Views/Evento/Index.cshtml @ 25:e8d2be47a6b0
Cambios de nombre en Portal.Web (Agenda x Evento)
author | nelo@MTEySS.neluz.int |
---|---|
date | Tue, 15 Mar 2011 08:24:18 -0300 |
parents | |
children | 475be11edf56 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Agendas/trunk/src/Agendas.Web/Views/Evento/Index.cshtml Tue Mar 15 08:24:18 2011 -0300 @@ -0,0 +1,29 @@ +@model Agendas.Web.Models.EventoIndexModel +@{ + ViewBag.Title = "Agenda"; +} + +<p> + Los próximos eventos son: +</p> +<table> + <thead> + <tr> + <th>Evento</th> + <th>Acciones</th> + </tr> + </thead> + <tbody> + @foreach (var item in Model.ProximosEventos) + { + <tr> + <td>@item.Titulo</td> + <td>@Html.ActionLink("Modificar", "Edit", new { id = item.Id })</td> + </tr> + } + </tbody> +</table> + +<p> +@Html.ActionLink("Nuevo", "New") +</p>