Don't show flag menu if this is a read-only mailbox.
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 27 Mar 2009 17:00:07 +0000 (11:00 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 27 Mar 2009 21:15:09 +0000 (15:15 -0600)
imp/templates/message/navbar_navigate.html

index a1f7cfd..4c8943d 100644 (file)
@@ -1,6 +1,7 @@
 <table class="msgActionTable">
  <tr class="mboxcontrol">
   <td>
+<if:readonly><else:readonly>
 <if:usepop><else:usepop>
    <div class="leftFloat">
     <label for="flag<tag:id />" class="hidden"><gettext>Mark as:</gettext></label>
@@ -17,7 +18,6 @@
    </div>
 </else:usepop></if:usepop>
 <if:move>
-<if:readonly><else:readonly>
    <div class="leftFloat msgActions">
     <ul class="msgactions">
      <li><tag:move /></li>
@@ -30,8 +30,8 @@
      <tag:options />
     </select>
    </div>
-</else:readonly></if:readonly>
 </if:move>
+</else:readonly></if:readonly>
    <div class="rightFloat nowrap">
     <tag:back_to />&nbsp;
     <if:prev><tag:prev /></if:prev><tag:prev_img /><if:prev></a></if:prev>