blob: 856844dc6eabda1fd4dfd07461229188c05738ab (
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
|
<div id=display-folders class="pure-g jwm-nav">
<div class="pure-u-1-1 pure-u-md-1-2">
<nav class="pure-menu pure-menu-horizontal">
<strong class="pure-menu-heading">
%= l($folder || '_mailbox_root')
</strong>
<ul class="pure-menu-list">
% for my $v (grep {$_ ne $folder} @$mail_folders) {
<li class="pure-menu-item">
%= link_to '' => {folder => $v} => (class => 'bright') => begin
%= l($v || '_mailbox_root')
% end
</li>
% }
</ul>
</nav>
</div>
<p class="pure-u-1-1 pure-u-md-1-2">
<%= l('[_1] of [_2] messages', $last_item - $first_item + 1, $total_items) %>\
<%= l(', [_1] new', $total_new_mails) if $total_new_mails > 0 =%>
<%= l(' - mailbox size: [_1]', print_sizes10 $total_size) if $total_size %>
</p>
</div>
|