Merge pull request #3966 from rabuzarus/20171122_-_port_tagcloud
A tag cloud widget for the profile page
This commit is contained in:
commit
3fbf2e3bcf
7 changed files with 242 additions and 2 deletions
13
view/templates/tagblock_widget.tpl
Normal file
13
view/templates/tagblock_widget.tpl
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
<div class="tagblock widget">
|
||||
<h3>{{$title}}</h3>
|
||||
|
||||
<div class="tag-cloud">
|
||||
{{foreach $tags as $tag}}
|
||||
<span class="tags">
|
||||
<span class="tag{{$tag.level}}">#</span><a href="{{$tag.url}}" class="tag{{$tag.level}}">{{$tag.name}}</a>
|
||||
</span>
|
||||
{{/foreach}}
|
||||
</div>
|
||||
<div class="tagblock-widget-end clear"></div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue