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..e1b183c0d
--- /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 badge badge-pill badge-warning"><i class="fa fa-asterisk"></i>&nbsp;{{if $cat.url}}<a class="text-white" href="{{$cat.url}}">{{$cat.term}}</a>{{else}}{{$cat.term}}{{/if}}</span>
+{{/foreach}}
+<!--/div-->
+{{/if}}
+