diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-11-15 17:41:38 +0100 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-11-15 17:41:38 +0100 |
commit | 962467ee686046434e6ad060863eabb55fef2652 (patch) | |
tree | d3dcb7827a11b177d6412fa14456f4122f4a0c63 /view/theme/duepuntozero | |
parent | 5c7fb2b0fe578d4271f8752d3853e1fa4b121942 (diff) | |
download | volse-hubzilla-962467ee686046434e6ad060863eabb55fef2652.tar.gz volse-hubzilla-962467ee686046434e6ad060863eabb55fef2652.tar.bz2 volse-hubzilla-962467ee686046434e6ad060863eabb55fef2652.zip |
item tags as array to templates
Diffstat (limited to 'view/theme/duepuntozero')
-rw-r--r-- | view/theme/duepuntozero/wall_item.tpl | 8 | ||||
-rw-r--r-- | view/theme/duepuntozero/wallwall_item.tpl | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/view/theme/duepuntozero/wall_item.tpl b/view/theme/duepuntozero/wall_item.tpl index 3a4a49729..62f33ddee 100644 --- a/view/theme/duepuntozero/wall_item.tpl +++ b/view/theme/duepuntozero/wall_item.tpl @@ -29,7 +29,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"> {{ if $vote }} diff --git a/view/theme/duepuntozero/wallwall_item.tpl b/view/theme/duepuntozero/wallwall_item.tpl index aaa542760..050abb02d 100644 --- a/view/theme/duepuntozero/wallwall_item.tpl +++ b/view/theme/duepuntozero/wallwall_item.tpl @@ -33,7 +33,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"> {{ if $vote }} |