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:
Nathan Heskew
2010-07-21 09:06:34 -07:00
parent 89d944d10d
commit 8ae413f8e6

View File

@@ -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><%
} %>