From 302d62f7a3e7b60bc29f1f9f89bcee9bfc278fb8 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Thu, 12 Jan 2012 10:37:11 +0100 Subject: [PATCH] templates: add class to comment preview div, fix search_item.tpl --- view/comment_item.tpl | 2 +- view/search_item.tpl | 30 +++++++++++++++++++++--------- view/wall_item.tpl | 4 ++-- view/wallwall_item.tpl | 13 ++++++------- 4 files changed, 30 insertions(+), 19 deletions(-) diff --git a/view/comment_item.tpl b/view/comment_item.tpl index 49751c42b3..a28fc411a5 100644 --- a/view/comment_item.tpl +++ b/view/comment_item.tpl @@ -17,7 +17,7 @@
diff --git a/view/search_item.tpl b/view/search_item.tpl index 616eaf110e..c4f3ccac7b 100644 --- a/view/search_item.tpl +++ b/view/search_item.tpl @@ -1,18 +1,20 @@ +
$star.starred {{ if $lock }}$lock{{ endif }}
+
-
- $name + $name - menu + menu @@ -27,6 +29,15 @@
+
+ {{ for $tags as $tag }} + $tag + {{ endfor }} +
+
+
+
{{ if $plink }}$plink.title{{ endif }}
@@ -38,6 +49,7 @@ {{ if $star }} $star.do $star.undo + $star.tagger {{ endif }} {{ if $vote }} @@ -48,16 +60,12 @@ {{ if $vote.share }} $vote.share.1 {{ endif }} - - {{ if $conv }} - $conv.title - {{ endif }}
{{ if $drop.dropping }} - + $drop.delete {{ endif }} {{ if $edpost }} @@ -67,5 +75,9 @@
+
+ + +
$dislike
+
- diff --git a/view/wall_item.tpl b/view/wall_item.tpl index 96f3cee747..83e6dd361b 100644 --- a/view/wall_item.tpl +++ b/view/wall_item.tpl @@ -1,10 +1,10 @@ -{{ if $indent }}{{ else }} +
$star.starred {{ if $lock }}$lock{{ endif }}
-{{ endif }} +
diff --git a/view/wallwall_item.tpl b/view/wallwall_item.tpl index 96d5147027..11297647ae 100644 --- a/view/wallwall_item.tpl +++ b/view/wallwall_item.tpl @@ -1,18 +1,12 @@ -{{ if $indent }}{{ else }}
$star.starred {{ if $lock }}$lock{{ endif }}
-{{ endif }} +
-
- - $owner_name - -
@@ -25,6 +19,11 @@
+
+ + $owner_name + +
$location
-- 2.39.5