From 1e2bbb922eb12851e52bfdfb0e00d8968ebea902 Mon Sep 17 00:00:00 2001 From: Sebastien Ros Date: Tue, 19 Oct 2010 12:09:36 -0700 Subject: [PATCH] Added version information display for Themes also --HG-- branch : dev --- .../Modules/Orchard.Packaging/Views/Gallery/Themes.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Themes.cshtml b/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Themes.cshtml index ad1922be1..88fcda80c 100644 --- a/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Themes.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Themes.cshtml @@ -39,7 +39,7 @@ @T("Download")
@T("By") @author

- @T("Version: {0}", "1.0")
+ @T("Version: {0}", item.SyndicationItem.ElementExtensions.ReadElementExtensions("Version", "http://orchardproject.net").FirstOrDefault() ?? T("N/A").Text)
@(item.SyndicationItem.Summary == null ? T("(No description").Text : item.SyndicationItem.Summary.Text)