summaryrefslogtreecommitdiff
path: root/templates/headers/_displayfolders.html.ep
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2020-10-29 12:13:04 +0100
committerJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2020-10-29 12:13:04 +0100
commitee43823179ee627ac16ea9da8168e5f1bf9619c0 (patch)
tree5e6c36d5629d2ce79f3cb1310998dc715a6f19c7 /templates/headers/_displayfolders.html.ep
Initial commit; Stable version
Diffstat (limited to 'templates/headers/_displayfolders.html.ep')
-rw-r--r--templates/headers/_displayfolders.html.ep26
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/headers/_displayfolders.html.ep b/templates/headers/_displayfolders.html.ep
new file mode 100644
index 0000000..8cff0ed
--- /dev/null
+++ b/templates/headers/_displayfolders.html.ep
@@ -0,0 +1,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> \ No newline at end of file