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..c482d1ebe
--- /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;{{$cat.term}}{{if $cat.writeable}}<a href="{{$cat.removelink}}" class="category-remove-link" title="{{$remove}}"><i class="icon-remove drop-icons"></i></a>{{/if}}</span>
+{{/foreach}}
+</div>
+{{/if}}
+