Mercurial > altnet-hispano
changeset 151:c03c49202280
Merge
author | Nelo@Guinea.neluz.int |
---|---|
date | Tue, 02 Aug 2011 23:25:25 -0300 |
parents | 19bab30521da (current diff) c99636fbdc5f (diff) |
children | c57ca21064f2 |
files | |
diffstat | 3 files changed, 14 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Web/Controllers/HistoricoController.cs Tue Aug 02 23:24:19 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Controllers/HistoricoController.cs Tue Aug 02 23:25:25 2011 -0300 @@ -21,7 +21,10 @@ Titulo = e.Titulo, Fecha = e.Fecha.HasValue ? e.Fecha.Value.ToShortDateString() : string.Empty, Wiki = e.UrlWiki, - Ponente = e.Ponente.Nombre + Ponente = e.Ponente.Nombre, + Numero = e.NumeroOrden.ToString(), + Tipo = e.Tipo.ToString(), + Duracion = "0:00" } }; return View(model);
--- a/Agendas/trunk/src/Agendas.Web/Models/HistoricoModel.cs Tue Aug 02 23:24:19 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Models/HistoricoModel.cs Tue Aug 02 23:25:25 2011 -0300 @@ -11,10 +11,13 @@ public class HistoricoDto { public string Id { get; set; } + public string Numero { get; set; } + public string Tipo { get; set; } public string Titulo { get; set; } public string Fecha { get; set; } public string Wiki { get; set; } public string Ponente { get; set; } + public string Duracion { get; set; } } } \ No newline at end of file
--- a/Agendas/trunk/src/Agendas.Web/Views/Historico/Index.cshtml Tue Aug 02 23:24:19 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Views/Historico/Index.cshtml Tue Aug 02 23:25:25 2011 -0300 @@ -6,20 +6,24 @@ <table> <thead> <tr> + <th>Nro.</th> <th>Fecha</th> + <th>Tipo</th> <th>Evento</th> <th>Ponente</th> - <th>Wiki</th> + <th>Duración</th> </tr> </thead> <tbody> @foreach (var item in Model.Items) { <tr> + <td>@item.Numero</td> <td>@item.Fecha</td> - <td>@item.Titulo</td> + <td>@item.Tipo</td> + <td><a href="@item.Wiki">@item.Titulo</a></td> <td>@item.Ponente</td> - <td>@item.Wiki</td> + <td>@item.Duracion</td> </tr> } </tbody>