From 6cbf88fb1db6591feb3e932ce9c706373e125c16 Mon Sep 17 00:00:00 2001 From: mipel Date: Fri, 23 Jul 2021 15:35:05 +0200 Subject: [PATCH] Documents * add get document route * add missing attributes to intervention detail view --- .../templates/intervention/detail-view.html | 114 +++++++++++++++++- konova/models.py | 1 + konova/urls.py | 3 +- konova/views.py | 19 ++- 4 files changed, 133 insertions(+), 4 deletions(-) diff --git a/intervention/templates/intervention/detail-view.html b/intervention/templates/intervention/detail-view.html index e08c1f19..920c791e 100644 --- a/intervention/templates/intervention/detail-view.html +++ b/intervention/templates/intervention/detail-view.html @@ -57,6 +57,14 @@ {% trans 'Title' %} {{intervention.title}} + + {% trans 'Process type' %} + {{intervention.process_type|default_if_none:""}} + + + {% trans 'Law' %} + {{intervention.law|default_if_none:""}} + {% trans 'Registration office' %} {{intervention.registration_office|default_if_none:""}} @@ -73,6 +81,10 @@ {% trans 'Conversation office file number' %} {{intervention.conservation_file_number|default_if_none:""}} + + {% trans 'Handler' %} + {{intervention.handler|default_if_none:""}} + {% trans 'Checked' %} @@ -131,7 +143,7 @@
-