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/headers/_pagination2.html.ep | 37 ---------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 templates/headers/_pagination2.html.ep (limited to 'templates/headers/_pagination2.html.ep') diff --git a/templates/headers/_pagination2.html.ep b/templates/headers/_pagination2.html.ep deleted file mode 100644 index 8bff0bf..0000000 --- a/templates/headers/_pagination2.html.ep +++ /dev/null @@ -1,37 +0,0 @@ -%= form_for '' => (class => 'pure-form') => begin - - <%= l('first') . ' ' . l 'page' %> - - - <%= l('previous') . ' ' . l 'page' %> - - -
- [ -%= label_for custompage => ucfirst l('page') => (style => 'display: inline') - <%= number_field start - => (id => 'custompage') - => (size => 3) - => (placeholder => $pgn->{current_page}+1) - => (min => 1) - => (max => $pgn->{total_pages} - => (style => 'display: inline')) %> -%= l 'of' -%= $pgn->{total_pages} - ] -
- -% my $h = $c->req->query_params->to_hash; -% while (my ($k, $v) = each %$h) { -% if ($k ne 'start') { -%= hidden_field $k => $v -% } -% } - - - <%= l('next') . ' ' . l 'page' %> - - - <%= l('last') . ' ' . l('page') %> - -% end -- cgit v1.2.3