From ec1f07d5b7459d354351646f0691ef70e09a0551 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 24 Apr 2014 12:39:27 +0200 Subject: [PATCH] =?UTF-8?q?Only=20show=20the=20preview=20button=20when=20i?= =?UTF-8?q?t=20is=20activated/Men=C3=BC=20arrangement=20changed=20for=20se?= =?UTF-8?q?ttings=20menu.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/templates/comment_item.tpl | 2 +- view/templates/jot.tpl | 2 +- view/theme/vier/templates/comment_item.tpl | 2 +- view/theme/vier/templates/nav.tpl | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/view/templates/comment_item.tpl b/view/templates/comment_item.tpl index caf98168d0..8cc524283e 100644 --- a/view/templates/comment_item.tpl +++ b/view/templates/comment_item.tpl @@ -34,7 +34,7 @@
diff --git a/view/templates/jot.tpl b/view/templates/jot.tpl index bd9902159c..efa00ce20c 100644 --- a/view/templates/jot.tpl +++ b/view/templates/jot.tpl @@ -59,7 +59,7 @@ {{$bang}} - {{$preview}} + {{if $preview}}{{$preview}}{{/if}}
diff --git a/view/theme/vier/templates/comment_item.tpl b/view/theme/vier/templates/comment_item.tpl index b683f12424..557996ba92 100644 --- a/view/theme/vier/templates/comment_item.tpl +++ b/view/theme/vier/templates/comment_item.tpl @@ -46,7 +46,7 @@ - {{$preview}} + {{if $preview}}{{$preview}}{{/if}} diff --git a/view/theme/vier/templates/nav.tpl b/view/theme/vier/templates/nav.tpl index fb3483d446..9254bbccc6 100644 --- a/view/theme/vier/templates/nav.tpl +++ b/view/theme/vier/templates/nav.tpl @@ -42,12 +42,12 @@