summaryrefslogtreecommitdiff
path: root/skins/larry/templates/message.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/message.html
parent4f693e9daa21185761d38dca9a0ba626be8c05cb (diff)
Add switch for text/html alternative part view (#1486939)
Diffstat (limited to 'skins/larry/templates/message.html')
-rw-r--r--skins/larry/templates/message.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/skins/larry/templates/message.html b/skins/larry/templates/message.html
index 36e0efa0a..0e19afa40 100644
--- a/skins/larry/templates/message.html
+++ b/skins/larry/templates/message.html
@@ -54,6 +54,21 @@
<roundcube:button command="nextmessage" type="link" class="button nextpage disabled" classAct="button nextpage" classSel="button nextpage pressed" innerClass="inner" title="nextmessage" content="&amp;gt;" />
</div>
+<roundcube:if condition="env:optional_format=='text'" />
+<div class="pagenav" id="formatcontrols">
+ <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 last changeformat text pressed" innerClass="inner" title="changeformattext" />
+ </span>
+</div>
+<roundcube:elseif condition="env:optional_format=='html'" />
+<div class="pagenav" id="formatcontrols">
+ <span class="buttongroup">
+ <roundcube:button command="change-format" prop="html" type="link" class="button first changeformat html" classSel="button first 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>
+</div>
+<roundcube:endif />
+
+
<div id="contactphoto"><roundcube:object name="contactphoto" /></div>
</div>