From ee6ee571de0df902d983282d695eb189f307ed96 Mon Sep 17 00:00:00 2001 From: Sebastien Ros Date: Tue, 20 Jul 2010 14:58:36 -0700 Subject: [PATCH] Remove "+New Translation" link on the front-end (keep in "Manage Content" though). --HG-- branch : dev --- .../Parts/Localization.ContentTranslations.ascx | 9 --------- 1 file changed, 9 deletions(-) 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 7511aac14..9cf7d0d03 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,10 +1 @@ <%@ 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") %>
<% - } %> -
<%:Html.ActionLink(T("+ New translation").Text, "translate", "admin", new { area = "Localization", id = Model.MasterId }, null)%>
-
\ No newline at end of file