Mercurial > altnet-hispano
changeset 248:da9c295e9fa1
Nro de versión en el footer
author | nelopauselli |
---|---|
date | Fri, 07 Oct 2011 13:02:13 -0300 |
parents | 92c912b46307 |
children | 7cf64cd790ab |
files | Agendas/trunk/src/Agendas.Web/Content/Site.css Agendas/trunk/src/Agendas.Web/DataProviders.cs Agendas/trunk/src/Agendas.Web/Properties/AssemblyInfo.cs Agendas/trunk/src/Agendas.Web/Views/Shared/_Layout.cshtml |
diffstat | 4 files changed, 15 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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;
--- 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(); + } } }
--- 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")]
--- 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 @@ <a target="_blank" title="DiscountASP" href="http://www.discountasp.com/"> <img src="@Url.Content("~/Content/themes/altnethispano/images/logoDiscountASPNET.gif")" title="DiscountASP.NET" alt="DiscountASP.NET" height="25" /> </a> + <div id="version"> + versión: @Html.Version() + </div> </div> </div> </div>