mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 19:34:40 +08:00
Delete the CamelFriendly function call to DisplayName.
The CamelFriendly function is designed for Technical Name. The DisplayName needs to be displayed as it is.
This commit is contained in:
@@ -70,7 +70,7 @@
|
|||||||
|
|
||||||
@if (!Model.HasTerms && AuthorizedFor(Orchard.Taxonomies.Permissions.CreateTerm)) {
|
@if (!Model.HasTerms && AuthorizedFor(Orchard.Taxonomies.Permissions.CreateTerm)) {
|
||||||
<div class="no-terms">
|
<div class="no-terms">
|
||||||
@T("There are no terms defined for {0} yet.", Model.DisplayName.CamelFriendly())
|
@T("There are no terms defined for {0} yet.", Model.DisplayName)
|
||||||
<a href="@Url.Action("Index", "TermAdmin", new { taxonomyId = Model.TaxonomyId, area = "Orchard.Taxonomies" })">@T("Create some terms")</a>
|
<a href="@Url.Action("Index", "TermAdmin", new { taxonomyId = Model.TaxonomyId, area = "Orchard.Taxonomies" })">@T("Create some terms")</a>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user