From 8ae413f8e61f62ac8534dd164443c5d35e91671d Mon Sep 17 00:00:00 2001 From: Nathan Heskew Date: Wed, 21 Jul 2010 09:06:34 -0700 Subject: [PATCH] Adding the links to translated content back to the front-end - only the "+ New Translation" link needed to be pulled --HG-- branch : dev --- .../Parts/Localization.ContentTranslations.ascx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Orchard.Web/Core/Localization/Views/DisplayTemplates/Parts/Localization.ContentTranslations.ascx b/src/Orchard.Web/Core/Localization/Views/DisplayTemplates/Parts/Localization.ContentTranslations.ascx index 9cf7d0d03..a4432bfae 100644 --- a/src/Orchard.Web/Core/Localization/Views/DisplayTemplates/Parts/Localization.ContentTranslations.ascx +++ b/src/Orchard.Web/Core/Localization/Views/DisplayTemplates/Parts/Localization.ContentTranslations.ascx @@ -1 +1,9 @@ <%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl" %> +<% +Html.RegisterStyle("base.css"); +if (Model.Localizations.Count() > 0) { %> +
+ <%--//todo: need this info in the view model--%> +
<%:Html.UnorderedList(Model.Localizations, (c, i) => Html.ItemDisplayLink(c.Culture.Culture, c), "localizations") %>
+
<% +} %> \ No newline at end of file