#26 Annual conservation reports

* enhances TimespanReportForm control rendering
* adds/updates translations
This commit is contained in:
2021-10-20 13:41:32 +02:00
parent c45198e825
commit 6b152616dd
6 changed files with 47 additions and 41 deletions

View File

@@ -65,6 +65,8 @@ class TimespanReportForm(BaseForm):
self.form_title = _("Generate report")
self.form_caption = _("Select a timespan and the desired conservation office")
self.action_url = reverse("analysis:reports")
self.show_cancel_btn = False
self.action_btn_label = _("Continue")
def save(self) -> str:
""" Generates a redirect url for the detail report