annotate Agendas/trunk/src/Agendas.Web/Views/Shared/DisplayTemplates/Tooltip.cshtml @ 234:cc71f96ac134

Combinar
author juanjose.montesdeocaarbos
date Tue, 04 Oct 2011 20:36:27 -0300
parents 723aed93a0e6
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 }