mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-19 01:57:55 +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>" %>
|
||||
<%
|
||||
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