diff Agendas/trunk/src/Agendas.Web/Views/Shared/DisplayTemplates/Tooltip.cshtml @ 86:723aed93a0e6

Template de Object y Tooltip
author nelopauselli
date Wed, 25 May 2011 01:53:31 -0300
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Agendas/trunk/src/Agendas.Web/Views/Shared/DisplayTemplates/Tooltip.cshtml	Wed May 25 01:53:31 2011 -0300
@@ -0,0 +1,9 @@
+@{
+	string tooltip=null;
+	tooltip = ViewData.ModelMetadata.Description;
+}
+
+@if (tooltip != null)
+{
+	<img title='@tooltip' src='@Url.Content("~/Content/question.jpg")' width='20' height='20' border='0' align="middle" style="vertical-align: top;"/>
+}
\ No newline at end of file