From f845156cf59c0db3c3bc021ca32f120f937d6c93 Mon Sep 17 00:00:00 2001 From: Nathan Heskew Date: Wed, 20 Oct 2010 15:00:24 -0700 Subject: [PATCH] Changing the widget admin to show the widget title ?? widget type display name --HG-- branch : dev --- .../Modules/Orchard.Widgets/Views/Admin/Index.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Orchard.Web/Modules/Orchard.Widgets/Views/Admin/Index.cshtml b/src/Orchard.Web/Modules/Orchard.Widgets/Views/Admin/Index.cshtml index 0b1ab3f5b..4e4419e52 100644 --- a/src/Orchard.Web/Modules/Orchard.Widgets/Views/Admin/Index.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Widgets/Views/Admin/Index.cshtml @@ -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 }) }