mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
committed by
Sipke Schoorstra
parent
004f35900d
commit
7171244044
@@ -1,12 +1,19 @@
|
|||||||
@using Orchard.Tags.Models
|
@using Orchard.Tags.Models
|
||||||
<ul class="tag-cloud">
|
<ul class="tag-cloud">
|
||||||
@foreach (TagCount tagCount in Model.TagCounts) {
|
@if (((IEnumerable<object>)Model.TagCounts).Any()) {
|
||||||
<li class="tag-cloud-tag tag-cloud-tag-@tagCount.Bucket">
|
foreach (TagCount tagCount in Model.TagCounts) {
|
||||||
@Html.ActionLink(tagCount.TagName, "Search", "Home", new {
|
<li class="tag-cloud-tag tag-cloud-tag-@tagCount.Bucket">
|
||||||
area = "Orchard.Tags",
|
@Html.ActionLink(tagCount.TagName, "Search", "Home", new {
|
||||||
tagName = tagCount.TagName
|
area = "Orchard.Tags",
|
||||||
}, null
|
tagName = tagCount.TagName
|
||||||
)
|
}, null
|
||||||
</li>
|
)
|
||||||
}
|
</li>
|
||||||
</ul>
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
<li>
|
||||||
|
@T("There are no tags to display.")
|
||||||
|
</li>
|
||||||
|
}
|
||||||
|
</ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user