# HG changeset patch # User nelopauselli # Date 1318003333 10800 # Node ID da9c295e9fa17a15247e2f5e8b7ca44f452023c2 # Parent 92c912b46307c202c3a5ac0cb195af8f738c7e8e Nro de versión en el footer diff -r 92c912b46307 -r da9c295e9fa1 Agendas/trunk/src/Agendas.Web/Content/Site.css --- a/Agendas/trunk/src/Agendas.Web/Content/Site.css Fri Oct 07 12:54:56 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Content/Site.css Fri Oct 07 13:02:13 2011 -0300 @@ -132,6 +132,11 @@ background: transparent url("themes/altnethispano/images/ul_topsponsors_li.gif") repeat-x 0 0; text-align: center; } + +#version { + float: right; +} + .userGroupLogo { padding: 0 10px; diff -r 92c912b46307 -r da9c295e9fa1 Agendas/trunk/src/Agendas.Web/DataProviders.cs --- a/Agendas/trunk/src/Agendas.Web/DataProviders.cs Fri Oct 07 12:54:56 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/DataProviders.cs Fri Oct 07 13:02:13 2011 -0300 @@ -41,5 +41,10 @@ { return new[] {Roles.Administrador, Roles.Usuario}; } + + public static string Version(this HtmlHelper helper) + { + return typeof (DataProviders).Assembly.GetName().Version.ToString(); + } } } diff -r 92c912b46307 -r da9c295e9fa1 Agendas/trunk/src/Agendas.Web/Properties/AssemblyInfo.cs --- a/Agendas/trunk/src/Agendas.Web/Properties/AssemblyInfo.cs Fri Oct 07 12:54:56 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Properties/AssemblyInfo.cs Fri Oct 07 13:02:13 2011 -0300 @@ -30,5 +30,5 @@ // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("1.0.2.0")] +[assembly: AssemblyFileVersion("1.0.2.0")] diff -r 92c912b46307 -r da9c295e9fa1 Agendas/trunk/src/Agendas.Web/Views/Shared/_Layout.cshtml --- a/Agendas/trunk/src/Agendas.Web/Views/Shared/_Layout.cshtml Fri Oct 07 12:54:56 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Views/Shared/_Layout.cshtml Fri Oct 07 13:02:13 2011 -0300 @@ -58,6 +58,9 @@ DiscountASP.NET +
+ versión: @Html.Version()      +