aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/item_categories.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-14 04:49:28 -0700
committerfriendica <info@friendica.com>2013-10-14 04:49:28 -0700
commit4f2c056d6d00257fccae356f4fdf6c0c971c9b60 (patch)
tree927014d9ba3aff8bb7ac69da84ff5698c3c9488b /view/tpl/item_categories.tpl
parent3991db62d49878bc7e48d1ab1b71bad5ad925785 (diff)
downloadvolse-hubzilla-4f2c056d6d00257fccae356f4fdf6c0c971c9b60.tar.gz
volse-hubzilla-4f2c056d6d00257fccae356f4fdf6c0c971c9b60.tar.bz2
volse-hubzilla-4f2c056d6d00257fccae356f4fdf6c0c971c9b60.zip
template and icons for categories and "file as"
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}}
+