From b41687e20928736e045faa981ee69b7635187f12 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Fri, 9 Nov 2012 01:56:51 +0100 Subject: [PATCH] "vier": Button for show/hide of text area for comments --- view/theme/vier/style.css | 6 ++++++ view/theme/vier/wall_thread.tpl | 21 +++++---------------- 2 files changed, 11 insertions(+), 16 deletions(-) diff --git a/view/theme/vier/style.css b/view/theme/vier/style.css index c7b6661b2..9e88dd8f5 100644 --- a/view/theme/vier/style.css +++ b/view/theme/vier/style.css @@ -1059,6 +1059,12 @@ section { color: #2d2d2d; border: 1px solid #2d2d2d; } + +.togglecomment { + float: left; + margin-right: 1em; +} + .comment-edit-preview { width: 710px; border: 1px solid #2d2d2d; diff --git a/view/theme/vier/wall_thread.tpl b/view/theme/vier/wall_thread.tpl index b422ae926..9861c4feb 100644 --- a/view/theme/vier/wall_thread.tpl +++ b/view/theme/vier/wall_thread.tpl @@ -87,21 +87,11 @@ {{ if $item.plink }}$item.plink.title{{ endif }}
-
$item.location
- - +
$item.location
- + {{ if $item.comment }} + $item.switchcomment + {{ endif }} {{ if $item.star }} $item.star.do $item.star.undo @@ -175,6 +165,5 @@ {{ if $item.flatten }} - -
$item.comment
+ {{ endif }}