From ed42fa7d59f0eb979b3b5c86b6969c53d6b6573b Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Thu, 1 Mar 2012 11:46:08 +0100 Subject: conversation: remove templating items in code and move it to template. --- view/theme/vier/wall_item.tpl | 76 +++++++++++++++++++++---------------------- 1 file changed, 38 insertions(+), 38 deletions(-) (limited to 'view/theme/vier/wall_item.tpl') diff --git a/view/theme/vier/wall_item.tpl b/view/theme/vier/wall_item.tpl index abd2862a1..8b06989fa 100644 --- a/view/theme/vier/wall_item.tpl +++ b/view/theme/vier/wall_item.tpl @@ -1,79 +1,79 @@ -{{ if $indent }}{{ else }} +{{ if $item.indent }}{{ else }}
- $star.starred - {{ if $lock }}$lock{{ endif }} - + $item.star.starred + {{ if $item.lock }}$item.lock{{ endif }} +
{{ endif }} -
+
- $name + $item.name - - {{ if $plink }}$ago{{ else }} $ago {{ endif }} - {{ if $lock }} - $lock {{ endif }} + {{ if $item.plink }}$item.ago{{ else }} $item.ago {{ endif }} + {{ if $item.lock }} - $item.lock {{ endif }}
- {{ if $title }}

$title

{{ endif }} - $body + {{ if $item.title }}

$item.title

{{ endif }} + $item.body
- {{ for $tags as $tag }} - $tag + {{ for $item.tags as $item.tag }} + $item.tag {{ endfor }}
- {{ if $plink }}$plink.title{{ endif }} + {{ if $item.plink }}$item.plink.title{{ endif }}
-
$location 
+
$item.location 
- {{ if $star }} - $star.do - $star.undo - $star.tagger + {{ if $item.star }} + $item.star.do + $item.star.undo + $item.star.tagger {{ endif }} - {{ if $vote }} - $vote.like.1 - $vote.dislike.1 + {{ if $item.vote }} + $item.vote.like.1 + $item.vote.dislike.1 {{ endif }} - {{ if $vote.share }} - $vote.share.1 + {{ if $item.vote.share }} + $item.vote.share.1 {{ endif }}
- {{ if $drop.dropping }} - - $drop.delete + {{ if $item.drop.dropping }} + + $item.drop.delete {{ endif }} - {{ if $edpost }} - + {{ if $item.edpost }} + {{ endif }}
@@ -81,11 +81,11 @@
- -
$dislike
+ +
$item.dislike
- $comment + $item.comment
-- cgit v1.2.3 From ef3484750137707287c6482e1def07cb7aec54a7 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Fri, 2 Mar 2012 12:41:34 +0100 Subject: templates: fix tags --- view/theme/vier/wall_item.tpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'view/theme/vier/wall_item.tpl') diff --git a/view/theme/vier/wall_item.tpl b/view/theme/vier/wall_item.tpl index 8b06989fa..aa972937d 100644 --- a/view/theme/vier/wall_item.tpl +++ b/view/theme/vier/wall_item.tpl @@ -38,9 +38,10 @@
- {{ for $item.tags as $item.tag }} - $item.tag + {{ for $item.tags as $tag }} + $tag {{ endfor }} +
-- cgit v1.2.3