diff skins/classic/templates/messagepreview.html @ 8:bf99236cc5cd

try to recover from upgrade fail
author Charlie Root
date Sat, 29 Dec 2018 07:07:34 -0500
parents 4681f974d28b
children
line wrap: on
line diff
--- a/skins/classic/templates/messagepreview.html	Sat Dec 29 06:32:49 2018 -0500
+++ b/skins/classic/templates/messagepreview.html	Sat Dec 29 07:07:34 2018 -0500
@@ -16,7 +16,9 @@
     <roundcube:if condition="env:optional_format=='html'" />
       <roundcube:button command="change-format" prop="html" image="/images/icons/html.png" width="15" height="15" title="changeformathtml" id="changeformathtml" />
     <roundcube:endif />
-    <roundcube:button command="extwin" image="/images/icons/extwin.png" width="15" height="15" title="openinextwin" id="openextwinlink" />
+    <roundcube:if condition="!env:message_context">
+      <roundcube:button command="extwin" image="/images/icons/extwin.png" width="15" height="15" title="openinextwin" id="openextwinlink" />
+    <roundcube:endif />
   </div>
 <roundcube:object name="messageHeaders" class="headers-table" cellspacing="0" cellpadding="2" addicon="/images/icons/silhouette.png" summary="Message headers" />
 <roundcube:object name="messageFullHeaders" id="full-headers" />