diff options
author | friendica <info@friendica.com> | 2013-10-14 15:34:47 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-10-14 15:34:47 -0700 |
commit | 9787872778d02d770431386853fa3313f453398e (patch) | |
tree | 6c980c3e9a230ea78956d3c54b6133ea8376f0b1 /view/tpl | |
parent | 3a84124ef044f53e9cce3c05493409a782bf2c5c (diff) | |
download | volse-hubzilla-9787872778d02d770431386853fa3313f453398e.tar.gz volse-hubzilla-9787872778d02d770431386853fa3313f453398e.tar.bz2 volse-hubzilla-9787872778d02d770431386853fa3313f453398e.zip |
linkify post categories
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/item_categories.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/item_categories.tpl b/view/tpl/item_categories.tpl index c482d1ebe..599ad21bd 100644 --- a/view/tpl/item_categories.tpl +++ b/view/tpl/item_categories.tpl @@ -1,7 +1,7 @@ {{if $categories}} <div class="categorytags"> {{foreach $categories as $cat}} -<span class="item-category"><i class="icon-asterisk cat-icons"></i> {{$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> +<span class="item-category"><i class="icon-asterisk cat-icons"></i> {{if $cat.url}}<a href="{{$cat.url}}">{{$cat.term}}</a>{{else}}{{$cat.term}}{{/if}}{{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}} |