Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Web/Views/Shared/_Messages.cshtml @ 117:7ef7e4bb71f6
manejo de mensajes al usuario
author | Nelo@Kenia.neluz.int |
---|---|
date | Sun, 19 Jun 2011 13:35:34 -0300 |
parents | |
children | beeb48ddb44a |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Agendas/trunk/src/Agendas.Web/Views/Shared/_Messages.cshtml Sun Jun 19 13:35:34 2011 -0300 @@ -0,0 +1,12 @@ +@if (TempData.ContainsKey("error")) +{ + <div class="errorbox"><label>@TempData["error"]</label></div> +} +@if (TempData.ContainsKey("warning")) +{ + <div class="warningbox"><label>@TempData["warning"]</label></div> +} +@if (TempData.ContainsKey("notification")) +{ + <div class="notificationbox"><label>@TempData["notification"]</label></div> +} \ No newline at end of file