Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2016-03-28 13:51:43 +0300
committerAleksander Machniak <alec@alec.pl>2016-03-28 13:51:43 +0300
commit46f7b7096450939fe03c95aa81ce06ae4bfca89d (patch)
treeb0cb5181b7073473676a15abb128d71712921e82 /skins/larry/templates
parente8b6e726f6e023a46e23c982ba7b3f76f0b657cb (diff)
Enable reply/reply-all/forward buttons also in preview frame of message/rfc822
Diffstat (limited to 'skins/larry/templates')
-rw-r--r--skins/larry/templates/messagepreview.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/skins/larry/templates/messagepreview.html b/skins/larry/templates/messagepreview.html
index e504285f9..371fb71c8 100644
--- a/skins/larry/templates/messagepreview.html
+++ b/skins/larry/templates/messagepreview.html
@@ -15,20 +15,20 @@
<span class="buttongroup">
<roundcube:button command="change-format" prop="html" type="link" class="button first changeformat html selected" innerClass="icon" title="changeformathtml" content="HTML" /><roundcube:button command="change-format" prop="text" type="link" class="button last changeformat text" classSel="button changeformat text pressed" innerClass="icon" title="changeformattext" content="Text" />
</span>
- &nbsp;
<roundcube:elseif condition="env:optional_format=='html'" />
+ &nbsp;
<span class="buttongroup">
<roundcube:button command="change-format" prop="html" type="link" class="button first changeformat html" classSel="button changeformat html pressed" innerClass="icon" title="changeformathtml" content="HTML" /><roundcube:button command="change-format" prop="text" type="link" class="button last changeformat text selected" innerClass="icon" title="changeformattext" content="Text" />
</span>
- &nbsp;
<roundcube:endif />
-<roundcube:if condition="env:mailbox != config:drafts_mbox and env:no_preview_controls == false">
+<roundcube:if condition="env:mailbox != config:drafts_mbox || env:message_context">
+ &nbsp;
<roundcube:button command="reply" type="link" class="button reply" classSel="button reply pressed" innerClass="icon" title="replytomessage" label="replytomessage" />
<roundcube:button command="reply-all" type="link" class="button replyall" classSel="button replyall pressed" innerClass="icon" title="replytoallmessage" label="replytoallmessage" />
<roundcube:button command="forward" type="link" class="button forward" classSel="button forward pressed" innerClass="icon" title="forwardmessage" label="forwardmessage" />
- &nbsp;
<roundcube:endif />
-<roundcube:if condition="env:no_preview_controls == false">
+<roundcube:if condition="!env:message_context">
+ &nbsp;
<roundcube:button command="extwin" type="link" class="button extwin" classSel="button extwin pressed" innerClass="icon" title="openinextwin" label="openinextwin" />
<roundcube:endif />
</div>