annotate 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
rev   line source
86
723aed93a0e6 Template de Object y Tooltip
nelopauselli
parents:
diff changeset
1 @{
723aed93a0e6 Template de Object y Tooltip
nelopauselli
parents:
diff changeset
2 string tooltip=null;
723aed93a0e6 Template de Object y Tooltip
nelopauselli
parents:
diff changeset
3 tooltip = ViewData.ModelMetadata.Description;
723aed93a0e6 Template de Object y Tooltip
nelopauselli
parents:
diff changeset
4 }
723aed93a0e6 Template de Object y Tooltip
nelopauselli
parents:
diff changeset
5
723aed93a0e6 Template de Object y Tooltip
nelopauselli
parents:
diff changeset
6 @if (tooltip != null)
723aed93a0e6 Template de Object y Tooltip
nelopauselli
parents:
diff changeset
7 {
723aed93a0e6 Template de Object y Tooltip
nelopauselli
parents:
diff changeset
8 <img title='@tooltip' src='@Url.Content("~/Content/question.jpg")' width='20' height='20' border='0' align="middle" style="vertical-align: top;"/>
723aed93a0e6 Template de Object y Tooltip
nelopauselli
parents:
diff changeset
9 }