epic-ts
authorMichael Wagner <michael@wagnertech.de>
Mon, 6 Dec 2021 14:20:49 +0000 (15:20 +0100)
committerMichael Wagner <michael@wagnertech.de>
Mon, 6 Dec 2021 14:20:49 +0000 (15:20 +0100)
templates/webpages/mebil/report_top.html [new file with mode: 0644]

diff --git a/templates/webpages/mebil/report_top.html b/templates/webpages/mebil/report_top.html
new file mode 100644 (file)
index 0000000..1ee307a
--- /dev/null
@@ -0,0 +1,14 @@
+[%- USE L %][% USE LxERP %]
+<form method="post" id="form" action="controller.pl">
+ [% L.hidden_tag('action', 'mebil/calcmap') %]
+ <a href="[% SELF.url_for(action='calcmap', year=(SELF.year - 1)) %]">&laquo; [%- LxERP.t8("Prior year") %]: [% SELF.year - 1 %]</a>
+
+ |
+ [% LxERP.t8("Current year") %]:
+ [% L.select_tag('year', YEARS_TO_LIST, default=SELF.year, onchange='$("#form").submit();') %]
+ |
+ <a href="[% SELF.url_for(action='calcmap', year=(SELF.year + 1)) %]">[%- LxERP.t8("Following year") %]: [% SELF.year + 1 %] &raquo;</a>
+ </form>
+<hr>