]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/diabook/wall_thread.tpl
one template to rule them all
[friendica.git] / view / theme / diabook / wall_thread.tpl
index c53f8b017ceb96a4ba64c4feb2830d2335b1e0a9..48468417610efba9605e5b940ce3618843ba6e01 100644 (file)
                <div class="wall-item-content">
                        {{ if $item.title }}<h2><a href="$item.plink.href">$item.title</a></h2>{{ endif }}
                        $item.body
+                       {{ if $item.has_cats }}
+                       <div class="categorytags"><span>$item.txt_cats {{ for $item.categories as $cat }}$cat.name <a href="$cat.removeurl" title="$remove">[$remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+                       </div>
+                       {{ endif }}
+
+                       {{ if $item.has_folders }}
+                       <div class="filesavetags"><span>$item.txt_folders {{ for $item.folders as $cat }}$cat.name <a href="$cat.removeurl" title="$remove">[$remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+                       </div>
+                       {{ endif }}
                </div>
        </div>
        <div class="wall-item-bottom">