From 299923ef45e88632f12394d50fb2e17b37acbac9 Mon Sep 17 00:00:00 2001 From: mpeltriaux Date: Wed, 2 Feb 2022 10:17:59 +0100 Subject: [PATCH] # 86 Viewport jump Compensation * adds direct jump of viewport on related-data action (create/delete) * adds comment field to log.html as 'details' --- .../compensation/includes/deadlines.html | 2 +- .../detail/compensation/view.html | 37 ++++++++-------- compensation/urls/compensation.py | 1 + compensation/views/compensation.py | 42 ++++++++++++++++--- templates/log.html | 8 +++- 5 files changed, 64 insertions(+), 26 deletions(-) diff --git a/compensation/templates/compensation/detail/compensation/includes/deadlines.html b/compensation/templates/compensation/detail/compensation/includes/deadlines.html index 4ca109f7..8897483e 100644 --- a/compensation/templates/compensation/detail/compensation/includes/deadlines.html +++ b/compensation/templates/compensation/detail/compensation/includes/deadlines.html @@ -50,7 +50,7 @@ {{ deadline.comment }} {% if is_default_member and has_access %} - {% endif %} diff --git a/compensation/templates/compensation/detail/compensation/view.html b/compensation/templates/compensation/detail/compensation/view.html index c210986a..7b167658 100644 --- a/compensation/templates/compensation/detail/compensation/view.html +++ b/compensation/templates/compensation/detail/compensation/view.html @@ -118,26 +118,27 @@
- -
-
- {% include 'compensation/detail/compensation/includes/states-before.html' %} +