diff options
Diffstat (limited to 'templates/headers/_displayfolders.html.ep')
-rw-r--r-- | templates/headers/_displayfolders.html.ep | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/templates/headers/_displayfolders.html.ep b/templates/headers/_displayfolders.html.ep index 8cff0ed..7bc5b12 100644 --- a/templates/headers/_displayfolders.html.ep +++ b/templates/headers/_displayfolders.html.ep @@ -2,25 +2,31 @@ <tr> <td id=folder-list class=alter-font> - <strong class=up> <%= l($folder) || $folder %> </strong> + <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> + <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; =%> + <%= "$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 %> + - <%= ucfirst(l 'mbox_size') . ": " . print_sizes10 $total_size %> % } </em> </td> </tr> -</table>
\ No newline at end of file +</table> |