mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-03 03:58:13 +08:00
Adding the links to translated content back to the front-end
- only the "+ New Translation" link needed to be pulled --HG-- branch : dev
This commit is contained in:
@@ -1 +1,9 @@
|
|||||||
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<Orchard.Core.Localization.ViewModels.ContentLocalizationsViewModel>" %>
|
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<Orchard.Core.Localization.ViewModels.ContentLocalizationsViewModel>" %>
|
||||||
|
<%
|
||||||
|
Html.RegisterStyle("base.css");
|
||||||
|
if (Model.Localizations.Count() > 0) { %>
|
||||||
|
<div class="content-localization">
|
||||||
|
<%--//todo: need this info in the view model--%>
|
||||||
|
<div class="content-localizations"><%:Html.UnorderedList(Model.Localizations, (c, i) => Html.ItemDisplayLink(c.Culture.Culture, c), "localizations") %></div>
|
||||||
|
</div><%
|
||||||
|
} %>
|
||||||
Reference in New Issue
Block a user