Mercurial > altnet-hispano
changeset 210:5cc7bc973ffc
Ticket 175: Que al confirmar un evento, muestre una pantalla sugiriendo el servicio de scheduler.
author | juanjose.montesdeocaarbos |
---|---|
date | Fri, 26 Aug 2011 07:26:29 -0300 |
parents | 1fead4596a98 |
children | 75eefd82760f |
files | Agendas/trunk/src/Agendas.Web/Agendas.Web.csproj Agendas/trunk/src/Agendas.Web/Models/EventoModel.cs Agendas/trunk/src/Agendas.Web/Views/Evento/Confirm.cshtml Agendas/trunk/src/Agendas.Web/Views/Home/About.cshtml |
diffstat | 4 files changed, 25 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Web/Agendas.Web.csproj Wed Aug 24 08:41:34 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Agendas.Web.csproj Fri Aug 26 07:26:29 2011 -0300 @@ -236,6 +236,9 @@ <ItemGroup> <Content Include="Views\Shared\EditorTemplates\Roles.cshtml" /> </ItemGroup> + <ItemGroup> + <Content Include="Views\Evento\Confirm.cshtml" /> + </ItemGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
--- a/Agendas/trunk/src/Agendas.Web/Models/EventoModel.cs Wed Aug 24 08:41:34 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Models/EventoModel.cs Fri Aug 26 07:26:29 2011 -0300 @@ -104,6 +104,18 @@ public TimeSpan DuracionReal { get; set; } } + public class EventoConfirmModel + { + [HiddenInput(DisplayValue = false)] + public string Id { get; set; } + + [HiddenInput] + public string Titulo { get; set; } + + [HiddenInput] + public string Mensaje { get; set; } + } + public class EventoDto { public string Id { get; set; }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Agendas/trunk/src/Agendas.Web/Views/Evento/Confirm.cshtml Fri Aug 26 07:26:29 2011 -0300 @@ -0,0 +1,10 @@ +@model AltNetHispano.Agendas.Web.Models.EventoConfirmModel +<h2>Agenda</h2> +<p> + Los próximos eventos son: +</p> +<div id="content"> +</div> +<div class="buttons"> + @Html.ActionLink("Nuevo", "Nuevo") +</div>