From fcf5549584b69e62b6c2f0eb919f6799c7904211 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Fri, 10 Mar 2023 13:54:57 +0100 Subject: Proper recursive rendering of mails to html 1. Added raw mode to model 2. Added raw route 3. Moved readmail view parts to RenderMail plugin 4. Renamed displayheaders partial templates --- templates/displayheaders/_bot_nav.html.ep | 36 +++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 templates/displayheaders/_bot_nav.html.ep (limited to 'templates/displayheaders/_bot_nav.html.ep') diff --git a/templates/displayheaders/_bot_nav.html.ep b/templates/displayheaders/_bot_nav.html.ep new file mode 100644 index 0000000..3eb57d3 --- /dev/null +++ b/templates/displayheaders/_bot_nav.html.ep @@ -0,0 +1,36 @@ +
+ +
+ %= include 'displayheaders/_pagination1' +
+ +
+ + +
+ +
+ % 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 + % } +
+ +
+ + -- cgit v1.2.3