Mercurial > altnet-hispano
changeset 151:c03c49202280
Merge
author | Nelo@Guinea.neluz.int |
---|---|
date | Tue, 02 Aug 2011 23:25:25 -0300 |
parents | 19bab30521da (diff) c99636fbdc5f (current diff) |
children | c57ca21064f2 |
files | |
diffstat | 4 files changed, 18 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Web/Agendas.Web.csproj Tue Aug 02 23:05:50 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Agendas.Web.csproj Tue Aug 02 23:25:25 2011 -0300 @@ -218,6 +218,9 @@ <ItemGroup> <Content Include="Views\Shared\EditorTemplates\Ponente.cshtml" /> </ItemGroup> + <ItemGroup> + <Content Include="Views\Shared\EditorTemplates\DateTime.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/Views/Evento/Agendar.cshtml Tue Aug 02 23:05:50 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Views/Evento/Agendar.cshtml Tue Aug 02 23:25:25 2011 -0300 @@ -7,12 +7,6 @@ <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script> -<script type="text/javascript"> - $(document).ready(function () { - $("#Fecha").datepicker({ dateFormat: 'dd-mm-yy' }); - }); -</script> - @using (Html.BeginForm()) { @Html.ValidationSummary(true, "Los datos ingresados no son validos, por favor verifíquelos")
--- a/Agendas/trunk/src/Agendas.Web/Views/Home/About.cshtml Tue Aug 02 23:05:50 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Views/Home/About.cshtml Tue Aug 02 23:25:25 2011 -0300 @@ -1,10 +1,9 @@ -<h2>About Us</h2> +<h2>Acerca de nosotros</h2> +<p>Desarrollado por colaboradores de la comunidad</p> +<ul> + <li>Alejandro Labra</li> + <li>Jorge Rowies</li> + <li>Juan José Montes de Oca</li> + <li>Nelo Pauselli</li> +</ul> -<p> - Desarrollado por colaboradores de la comunidad - <ul> - <li>Juan José Montes de Oca</li> - <li>Nelo Pauselli</li> - <li>¿quién mas?</li> - </ul> -</p>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Agendas/trunk/src/Agendas.Web/Views/Shared/EditorTemplates/DateTime.cshtml Tue Aug 02 23:25:25 2011 -0300 @@ -0,0 +1,7 @@ +@model DateTime? +<script type="text/javascript"> + $(document).ready(function () { + $("#@ViewData.TemplateInfo.GetFullHtmlFieldId(string.Empty)").datepicker({ dateFormat: 'dd-mm-yy' }); + }); +</script> +@Html.TextBox(string.Empty, (Model.HasValue ? Model.Value.ToShortDateString() : string.Empty))