diff --git a/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Modules.cshtml b/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Modules.cshtml index 0aa90dc5d..8db0baed6 100644 --- a/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Modules.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Modules.cshtml @@ -59,13 +59,7 @@
- @if (!string.IsNullOrWhiteSpace(item.GalleryDetailsUrl)) { - -

@item.Title - @T("Version: {0}", item.Version)

-
- } else { -

@item.Title - @T("Version: {0}", item.Version)

- } +

@item.Title - @T("Version: {0}", item.Version)

@@ -75,7 +69,16 @@
-

@(item.Description ?? T("(No description").Text)

+ @{ + var description = item.Description ?? T("(No description").Text; + } +

@Html.Raw(Html.Encode(description).Replace("\n", "
"))

+

+ @if (!string.IsNullOrWhiteSpace(item.GalleryDetailsUrl)) { + @T("more...") + } +

+