From 46f7b7096450939fe03c95aa81ce06ae4bfca89d Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Mon, 28 Mar 2016 06:51:43 -0400
Subject: [PATCH] Enable reply/reply-all/forward buttons also in preview frame of message/rfc822

---
 skins/larry/includes/header.html |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/skins/larry/includes/header.html b/skins/larry/includes/header.html
index 179b860..5660a56 100644
--- a/skins/larry/includes/header.html
+++ b/skins/larry/includes/header.html
@@ -3,7 +3,9 @@
 	<h2 id="aria-label-topnav" class="voice"><roundcube:label name="arialabeltopnav" /></h2>
 	<div class="topleft">
 		<roundcube:container name="topline-left" id="topline-left" />
-		<roundcube:button name="about" type="link" label="about" class="about-link" onclick="UI.show_about(this);return false" condition="!env:extwin" />
+		<roundcube:if condition="template:name != 'error'" />
+			<roundcube:button name="about" type="link" label="about" class="about-link" onclick="UI.show_about(this);return false" condition="!env:extwin" />
+		<roundcube:endif />
 		<roundcube:if condition="config:support_url" />
 		<a href="<roundcube:var name='config:support_url' />" target="_blank" class="support-link" id="supportlink"><roundcube:label name="support" /></a>
 		<roundcube:endif />
@@ -19,7 +21,6 @@
 	<roundcube:endif />
 	</div>
 </div>
-
 <roundcube:if condition="!env:extwin &amp;&amp; !env:framed" />
 <div id="topnav">
 	<h2 id="aria-label-tasknav" class="voice"><roundcube:label name="arialabeltasknav" /></h2>

--
Gitblit v1.9.1