summaryrefslogtreecommitdiff
path: root/skins/larry/templates/messagepreview.html
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-03-21 11:56:21 +0100
committerThomas Bruederli <thomas@roundcube.net>2013-03-21 11:56:21 +0100
commit6996dee8567b32144c10aea5bf8db7feb07c2ce6 (patch)
tree45ef4681f85c9aadd29e9a95936b59bc3a62d8a7 /skins/larry/templates/messagepreview.html
parent4f693e9daa21185761d38dca9a0ba626be8c05cb (diff)
Add switch for text/html alternative part view (#1486939)
Diffstat (limited to 'skins/larry/templates/messagepreview.html')
-rw-r--r--skins/larry/templates/messagepreview.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/skins/larry/templates/messagepreview.html b/skins/larry/templates/messagepreview.html
index dbfe2dc7b..12a9f2dbd 100644
--- a/skins/larry/templates/messagepreview.html
+++ b/skins/larry/templates/messagepreview.html
@@ -30,6 +30,17 @@
<!-- record navigation -->
<div id="countcontrols" class="pagenav">
+<roundcube:if condition="env:optional_format=='text'" />
+ <span class="buttongroup">
+ <roundcube:button command="change-format" prop="html" type="link" class="button first changeformat html selected" innerClass="inner" title="changeformathtml" /><roundcube:button command="change-format" prop="text" type="link" class="button last changeformat text" classSel="button changeformat text pressed" innerClass="inner" title="changeformattext" />
+ </span>
+ &nbsp;
+<roundcube:elseif condition="env:optional_format=='html'" />
+ <span class="buttongroup">
+ <roundcube:button command="change-format" prop="html" type="link" class="button first changeformat html" classSel="button changeformat html pressed" innerClass="inner" title="changeformathtml" /><roundcube:button command="change-format" prop="text" type="link" class="button last changeformat text selected" innerClass="inner" title="changeformattext" />
+ </span>
+ &nbsp;
+<roundcube:endif />
<roundcube:if condition="env:mailbox != config:drafts_mbox">
<roundcube:button command="reply" type="link" class="button reply" classSel="button reply pressed" innerClass="inner" title="replytomessage" content="&lt;-" />
<roundcube:button command="reply-all" type="link" class="button replyall" classSel="button replyall pressed" innerClass="inner" title="replytoallmessage" content="&lt;&lt;-" />