aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/testbubble
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/testbubble
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/testbubble')
-rw-r--r--view/theme/testbubble/wall_item.tpl8
-rw-r--r--view/theme/testbubble/wallwall_item.tpl8
2 files changed, 14 insertions, 2 deletions
diff --git a/view/theme/testbubble/wall_item.tpl b/view/theme/testbubble/wall_item.tpl
index 199381fd3..4fe819f4b 100644
--- a/view/theme/testbubble/wall_item.tpl
+++ b/view/theme/testbubble/wall_item.tpl
@@ -25,7 +25,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-tools" id="wall-item-tools-$id">
diff --git a/view/theme/testbubble/wallwall_item.tpl b/view/theme/testbubble/wallwall_item.tpl
index ba62d30fb..015e62f3e 100644
--- a/view/theme/testbubble/wallwall_item.tpl
+++ b/view/theme/testbubble/wallwall_item.tpl
@@ -56,7 +56,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>