aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/item_categories.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/item_categories.tpl')
-rw-r--r--view/tpl/item_categories.tpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/view/tpl/item_categories.tpl b/view/tpl/item_categories.tpl
new file mode 100644
index 000000000..ec2639a6f
--- /dev/null
+++ b/view/tpl/item_categories.tpl
@@ -0,0 +1,8 @@
+{{if $categories}}
+<div class="categorytags">
+{{foreach $categories as $cat}}
+<span class="item-category"><i class="icon-asterisk cat-icons"></i>&nbsp;{{if $cat.url}}<a href="{{$cat.url}}">{{$cat.term}}</a>{{else}}{{$cat.term}}{{/if}}</span>
+{{/foreach}}
+</div>
+{{/if}}
+