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">
|
||||
@foreach (TagCount tagCount in Model.TagCounts) {
|
||||
<li class="tag-cloud-tag tag-cloud-tag-@tagCount.Bucket">
|
||||
@Html.ActionLink(tagCount.TagName, "Search", "Home", new {
|
||||
area = "Orchard.Tags",
|
||||
tagName = tagCount.TagName
|
||||
}, null
|
||||
)
|
||||
</li>
|
||||
}
|
||||
</ul>
|
||||
@if (((IEnumerable<object>)Model.TagCounts).Any()) {
|
||||
foreach (TagCount tagCount in Model.TagCounts) {
|
||||
<li class="tag-cloud-tag tag-cloud-tag-@tagCount.Bucket">
|
||||
@Html.ActionLink(tagCount.TagName, "Search", "Home", new {
|
||||
area = "Orchard.Tags",
|
||||
tagName = tagCount.TagName
|
||||
}, null
|
||||
)
|
||||
</li>
|
||||
}
|
||||
}
|
||||
else {
|
||||
<li>
|
||||
@T("There are no tags to display.")
|
||||
</li>
|
||||
}
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user