mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 10:54:50 +08:00
13 lines
466 B
Plaintext
13 lines
466 B
Plaintext
@using Orchard.Localization.Models;
|
|
@{
|
|
Style.Require("Localization");
|
|
IEnumerable<LocalizationPart> localizations = Model.Localizations;
|
|
}
|
|
@if (localizations != null && localizations.Count() > 0) {
|
|
<div class="content-localization">
|
|
<div class="content-localizations">
|
|
<h4>@T("Translations:")</h4>
|
|
@Html.UnorderedList(localizations, (c, i) => Html.ItemDisplayLink(c.Culture.Culture, c), "localizations")
|
|
</div>
|
|
</div>
|
|
} |