# HG changeset patch # User nelopauselli # Date 1312809226 10800 # Node ID c58d26b15759d55a9687169a181c34e7554d6e47 # Parent b7621309524f660403c3ac81d6fb79e1a34900f1# Parent 3c70b0d8bd69539c4a80db14956bf1afdc2351f7 Merge diff -r b7621309524f -r c58d26b15759 Agendas/trunk/src/Agendas.Web/Controllers/AccountController.cs --- a/Agendas/trunk/src/Agendas.Web/Controllers/AccountController.cs Mon Aug 08 10:13:26 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Controllers/AccountController.cs Mon Aug 08 10:13:46 2011 -0300 @@ -44,6 +44,18 @@ { var username = OAuthTwitter.GetResponseContent(response, "screen_name"); var nombre = OAuthTwitter.GetResponseContent(response, "name"); + //TOD: Esto es temporal. + nombre = nombre.Replace('\u00e1', 'á'); + nombre = nombre.Replace('\u00e9', 'é'); + nombre = nombre.Replace('\u00ed', 'í'); + nombre = nombre.Replace('\u00fa', 'ú'); + nombre = nombre.Replace('\u00c1', 'Á'); + nombre = nombre.Replace('\u00c9', 'É'); + nombre = nombre.Replace('\u00cd', 'Í'); + nombre = nombre.Replace('\u00d3', 'Ó'); + nombre = nombre.Replace('\u00da', 'Ú'); + nombre = nombre.Replace('\u00f1', 'ñ'); + nombre = nombre.Replace('\u00d1', 'Ñ'); var personaService = AgendaFactory.GetPersonaService(); personaService.CreateIfNotExist(IdentityProviderEnum.Twitter, username, nombre); diff -r b7621309524f -r c58d26b15759 Agendas/trunk/src/Agendas.Web/Views/Evento/Index.cshtml --- a/Agendas/trunk/src/Agendas.Web/Views/Evento/Index.cshtml Mon Aug 08 10:13:26 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Views/Evento/Index.cshtml Mon Aug 08 10:13:46 2011 -0300 @@ -23,7 +23,7 @@ @if (item.PuedeAgendar) { - @Html.ActionLink("Agendar", "Agendar", "Evento", new {id = item.Id}, null) + @Html.ActionLink("Agendar", "Agendar", "Evento", new { id = item.Id }, null)   } @if (item.PuedeModificar) @@ -33,7 +33,7 @@ } @if (item.PuedeConfirmar) { - @Html.ActionLink("Confirmar", "Confirmar", new { id = item.Id }) + @Html.ActionLink("Confirmar", "Confirmar", new { id = item.Id }, new { @class = "ui-button-confirm" })   } @if (item.PuedePublicar) @@ -43,12 +43,12 @@ } @if (item.PuedeCancelar) { - @Html.ActionLink("Cancelar", "Cancelar", new { id = item.Id }) + @Html.ActionLink("Cancelar", "Cancelar", new { id = item.Id }, new { @class = "ui-button-confirm"})   } @if (item.PuedeDescartar) { - @Html.ActionLink("Descartar", "Descartar", new { id = item.Id }) + @Html.ActionLink("Descartar", "Descartar", new { id = item.Id }, new { @class = "ui-button-confirm"})   } @if (item.PuedeReAgendar) diff -r b7621309524f -r c58d26b15759 Agendas/trunk/src/Agendas.Web/Views/Historico/Index.cshtml --- a/Agendas/trunk/src/Agendas.Web/Views/Historico/Index.cshtml Mon Aug 08 10:13:26 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Views/Historico/Index.cshtml Mon Aug 08 10:13:46 2011 -0300 @@ -15,7 +15,7 @@ - @foreach (var item in Model.Items) + @foreach (var item in Model.Items.OrderByDescending(i => i.Numero)) { @item.Numero diff -r b7621309524f -r c58d26b15759 Agendas/trunk/src/Agendas.Web/Views/Shared/_Layout.cshtml --- a/Agendas/trunk/src/Agendas.Web/Views/Shared/_Layout.cshtml Mon Aug 08 10:13:26 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Views/Shared/_Layout.cshtml Mon Aug 08 10:13:46 2011 -0300 @@ -1,24 +1,29 @@  - Gestión de VANs - - - + Gestión de VANs + + + - + -