Changing the widget admin to show the widget title ?? widget type display name

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-10-20 15:00:24 -07:00
parent 5c8d2f1864
commit f845156cf5

View File

@@ -40,7 +40,7 @@
@{
i++;
}
@Html.ActionLink(@widget.TypeDefinition.DisplayName, "EditWidget", new { @widget.Id })
@Html.ActionLink(HasText(widget.Title) ? widget.Title : widget.TypeDefinition.DisplayName, "EditWidget", new { @widget.Id })
</li>
}
</ul>