summaryrefslogtreecommitdiff
path: root/templates/headers/_displayfolders.html.ep
blob: 7bc5b12efe485300989b6fa45a109e10b476be6a (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
27
28
29
30
31
32
<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>
          %= link_to '' => {folder => $v} => (class => 'bright') => begin
            %= $v ? (l($v) || $v) : l 'Home'
          % end
        </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>