summaryrefslogtreecommitdiff
path: root/templates/headers/_displayfolders.html.ep
blob: 8cff0edd818a97853581937fb695e659a257ea58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<table id=display-folders width=100%>
  <tr>

    <td id=folder-list class=alter-font>
      <strong class=up> <%= l($folder) || $folder %> </strong>

      <ul class=line>
% for my $v (grep {$_ ne $folder} @$mail_folders) {
  <li><a href="<%= url_for(folder => $v) %>" class=bright> <%= $v ne '' ? (l($v) || $v) : l 'Home' %> </a></li>
% }
      </ul>
    </td>

    <td>
      <em class=msg-count>
        <%= $first_item %>-<%= $last_item %> <%= l 'of' %> <%= $total_items %> <%= l 'messages' %>\
        <%= ", $total_new_mails " . l('new') if $total_new_mails > 0; =%>

% if ($total_size) {
        - <%= ucfirst l('mbox_size') . ": " . print_sizes10 $total_size %>
% }
      </em>
    </td>

  </tr>
</table>