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/duepuntozero/wall_item.tpl | 84 +++++++++++++++++------------------ 1 file changed, 42 insertions(+), 42 deletions(-) (limited to 'view/theme/duepuntozero/wall_item.tpl') diff --git a/view/theme/duepuntozero/wall_item.tpl b/view/theme/duepuntozero/wall_item.tpl index a5136eed3..d165d9801 100755 --- a/view/theme/duepuntozero/wall_item.tpl +++ b/view/theme/duepuntozero/wall_item.tpl @@ -1,76 +1,76 @@ -
-
-
-
- - $name +
+
+
+
+ + $item.name - menu -
+ menu +
    - $item_photo_menu + $item.item_photo_menu
-
- {{ if $lock }}
$lock
+
+ {{ if $item.lock }}
$item.lock
{{ else }}
{{ endif }} -
$location
+
$item.location
- $name -
$ago
+ $item.name +
$item.ago
-
-
$title
+
+
$item.title
-
$body +
$item.body
- {{ for $tags as $tag }} - $tag + {{ for $item.tags as $item.tag }} + $item.tag {{ endfor }}
-
- {{ if $vote }} - -- 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/duepuntozero/wall_item.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/theme/duepuntozero/wall_item.tpl') diff --git a/view/theme/duepuntozero/wall_item.tpl b/view/theme/duepuntozero/wall_item.tpl index d165d9801..51e36b6f4 100755 --- a/view/theme/duepuntozero/wall_item.tpl +++ b/view/theme/duepuntozero/wall_item.tpl @@ -31,8 +31,8 @@
$item.body
- {{ for $item.tags as $item.tag }} - $item.tag + {{ for $item.tags as $tag }} + $tag {{ endfor }}
-- cgit v1.2.3