# HG changeset patch # User juanjose.montesdeocaarbos # Date 1312337150 10800 # Node ID c99636fbdc5fdcf3d5012ee0eed074cf7db2f010 # Parent 5a1f7233aa5aedd19696e1d68623b63550330aa5 Ticket 155: Agregar Nro de Orden, Tipo y Duración real en la pantalla de Histórico, similar a como es la página actual en altnethispano.org. Pendiente: Falta que tome la duración cargada. diff -r 5a1f7233aa5a -r c99636fbdc5f Agendas/trunk/src/Agendas.Web/Controllers/HistoricoController.cs --- a/Agendas/trunk/src/Agendas.Web/Controllers/HistoricoController.cs Mon Aug 01 17:34:35 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Controllers/HistoricoController.cs Tue Aug 02 23:05:50 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); diff -r 5a1f7233aa5a -r c99636fbdc5f Agendas/trunk/src/Agendas.Web/Models/HistoricoModel.cs --- a/Agendas/trunk/src/Agendas.Web/Models/HistoricoModel.cs Mon Aug 01 17:34:35 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Models/HistoricoModel.cs Tue Aug 02 23:05:50 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 diff -r 5a1f7233aa5a -r c99636fbdc5f Agendas/trunk/src/Agendas.Web/Views/Historico/Index.cshtml --- a/Agendas/trunk/src/Agendas.Web/Views/Historico/Index.cshtml Mon Aug 01 17:34:35 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Views/Historico/Index.cshtml Tue Aug 02 23:05:50 2011 -0300 @@ -6,20 +6,24 @@ + + - + @foreach (var item in Model.Items) { + - + + - + }
Nro. FechaTipo Evento PonenteWikiDuración
@item.Numero @item.Fecha@item.Titulo@item.Tipo@item.Titulo @item.Ponente@item.Wiki@item.Duracion