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:
yw80 2016-03-20 00:01:17 +08:00
parent 740039d6ef
commit c85709ffef

View File

@ -70,7 +70,7 @@
@if (!Model.HasTerms && AuthorizedFor(Orchard.Taxonomies.Permissions.CreateTerm)) {
<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>
</div>
}