summaryrefslogtreecommitdiff
path: root/skins/larry/templates/mail.html
diff options
context:
space:
mode:
Diffstat (limited to 'skins/larry/templates/mail.html')
-rw-r--r--skins/larry/templates/mail.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/skins/larry/templates/mail.html b/skins/larry/templates/mail.html
index 88b7c5840..87e690b54 100644
--- a/skins/larry/templates/mail.html
+++ b/skins/larry/templates/mail.html
@@ -64,8 +64,13 @@
<!-- list footer -->
<div id="messagelistfooter">
<div id="listcontrols">
- <a href="#list" class="iconbutton listmode" id="maillistmode" title="<roundcube:label name='list' />">List</a>
- <a href="#threads" class="iconbutton threadmode" id="mailthreadmode" title="<roundcube:label name='threads' />">Threads</a>
+ <roundcube:if condition="env:threads" />
+ <a href="#list" class="iconbutton listmode" id="maillistmode" title="<roundcube:label name='list' />">List</a>
+ <a href="#threads" class="iconbutton threadmode" id="mailthreadmode" title="<roundcube:label name='threads' />">Threads</a>
+ <roundcube:else />
+ <a href="#list" class="iconbutton listmode selected" title="<roundcube:label name='list' />" onclick="return false">List</a>
+ <a href="#threads" class="iconbutton threadmode disabled" title="<roundcube:label name='threads' />" onclick="return false">Threads</a>
+ <roundcube:endif />
</div>
<div id="countcontrols" class="pagenav dark">