From 2abf462ca10c4ac8c4f815e608cad31851e966e3 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Sun, 26 Feb 2023 21:36:27 +0100 Subject: Specified the interface for qmauth Changes to configuration Added qmauth version written in Python Slight changes to pagination --- templates/headers/_display_bot_nav.html.ep | 18 +++++++------ templates/headers/_display_folders.html.ep | 8 +++--- templates/headers/_display_headers.html.ep | 15 ++++++----- templates/headers/_pagination1.html.ep | 10 +++---- templates/headers/_pagination2.html.ep | 10 +++---- templates/webmail/readmail.html.ep | 43 +++++++++++++++++------------- 6 files changed, 56 insertions(+), 48 deletions(-) (limited to 'templates') diff --git a/templates/headers/_display_bot_nav.html.ep b/templates/headers/_display_bot_nav.html.ep index 5a58b77..7be2832 100644 --- a/templates/headers/_display_bot_nav.html.ep +++ b/templates/headers/_display_bot_nav.html.ep @@ -10,14 +10,16 @@
- %= form_for move => (id => 'move-mail') => (class => 'pure-form') => begin -
- %= label_for 'select-folder' => l('move to') - %= select_field folder => [grep {$_ ne $folder} @$mail_folders] => (id => 'select-folder') - %= csrf_field - %= submit_button l('move') => (class => 'pure-button') -
- % end + % if (grep {$_ ne $folder} @$mail_folders) { + %= form_for move => (id => 'move-mail') => (class => 'pure-form') => begin +
+ %= label_for 'select-folder' => l('move to') + %= select_field folder => [map { $_ ? $_ : l 'Home' } grep {$_ ne $folder} @$mail_folders] => (id => 'select-folder') + %= csrf_field + %= submit_button l('move') => (class => 'pure-button') +
+ % end + % }
diff --git a/templates/headers/_display_folders.html.ep b/templates/headers/_display_folders.html.ep index 856844d..7f1612f 100644 --- a/templates/headers/_display_folders.html.ep +++ b/templates/headers/_display_folders.html.ep @@ -8,10 +8,10 @@