aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/dispy
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-11-15 17:41:38 +0100
committerFabio Comuni <fabrix.xm@gmail.com>2011-11-15 17:41:38 +0100
commit962467ee686046434e6ad060863eabb55fef2652 (patch)
treed3dcb7827a11b177d6412fa14456f4122f4a0c63 /view/theme/dispy
parent5c7fb2b0fe578d4271f8752d3853e1fa4b121942 (diff)
downloadvolse-hubzilla-962467ee686046434e6ad060863eabb55fef2652.tar.gz
volse-hubzilla-962467ee686046434e6ad060863eabb55fef2652.tar.bz2
volse-hubzilla-962467ee686046434e6ad060863eabb55fef2652.zip
item tags as array to templates
Diffstat (limited to 'view/theme/dispy')
-rw-r--r--view/theme/dispy/wall_item.tpl8
-rw-r--r--view/theme/dispy/wallwall_item.tpl8
2 files changed, 14 insertions, 2 deletions
diff --git a/view/theme/dispy/wall_item.tpl b/view/theme/dispy/wall_item.tpl
index f555ed813..51431d4eb 100644
--- a/view/theme/dispy/wall_item.tpl
+++ b/view/theme/dispy/wall_item.tpl
@@ -50,7 +50,13 @@
<div class="wall-item-content" id="wall-item-content-$id" >
<div class="wall-item-title" id="wall-item-title-$id">$title</div>
<div class="wall-item-title-end"></div>
- <div class="wall-item-body" id="wall-item-body-$id" >$body</div>
+ <div class="wall-item-body" id="wall-item-body-$id" >$body
+ <div class="body-tag">
+ {{ for $tags as $tag }}
+ <span class='tag'>$tag</span>
+ {{ endfor }}
+ </div>
+ </div>
</div>
<div class="wall-item-author">
<a href="$profile_url" title="$linktitle" class="wall-item-name-link"><span class="wall-item-name$sparkle" id="wall-item-name-$id" >$name</span></a>
diff --git a/view/theme/dispy/wallwall_item.tpl b/view/theme/dispy/wallwall_item.tpl
index 9e6ea40a1..4b2b52b85 100644
--- a/view/theme/dispy/wallwall_item.tpl
+++ b/view/theme/dispy/wallwall_item.tpl
@@ -55,7 +55,13 @@
<div class="wall-item-content" id="wall-item-content-$id" >
<div class="wall-item-title" id="wall-item-title-$id">$title</div>
<div class="wall-item-title-end"></div>
- <div class="wall-item-body" id="wall-item-body-$id" >$body</div>
+ <div class="wall-item-body" id="wall-item-body-$id" >$body
+ <div class="body-tag">
+ {{ for $tags as $tag }}
+ <span class='tag'>$tag</span>
+ {{ endfor }}
+ </div>
+ </div>
</div>
<div class="wall-item-author">
<a href="$profile_url" title="$linktitle" class="wall-item-name-link"><span class="wall-item-name$sparkle" id="wall-item-name-$id" >$name</span></a>