aboutsummaryrefslogtreecommitdiffstats
path: root/server/templates
diff options
context:
space:
mode:
authorAndrea Lepori <aleporia@gmail.com>2023-08-24 10:16:43 +0200
committerAndrea Lepori <aleporia@gmail.com>2023-08-24 10:16:44 +0200
commit9e7fcb4e4da27cc0a55c492a1a6217617214c79a (patch)
tree28cbc880c5ae10dd93a3399055451211fa27484b /server/templates
parentcheck if person has a branca (diff)
downloadscout-subs-9e7fcb4e4da27cc0a55c492a1a6217617214c79a.tar.gz
scout-subs-9e7fcb4e4da27cc0a55c492a1a6217617214c79a.zip
change approve direct page to show correct data
Diffstat (limited to 'server/templates')
-rw-r--r--server/templates/server/approve_doc_direct.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/templates/server/approve_doc_direct.html b/server/templates/server/approve_doc_direct.html
index 7327b2f..8e71a9b 100644
--- a/server/templates/server/approve_doc_direct.html
+++ b/server/templates/server/approve_doc_direct.html
@@ -18,7 +18,7 @@
{% if success %}
<div class="card-content">
<h5>{{doc.document_type.name}}</h5>
- <h6>{{doc.user.first_name}} {{doc.user.last_name}} ({{doc.user.username}})</h6>
+ <h6>{{doc.usercode.first_name}} {{doc.usercode.last_name}} ({{doc.usercode.branca}})</h6>
<h6>{{doc.code}}</h6>
<br>
<div class="row">
@@ -48,7 +48,7 @@
<div class="card-content">
<div class="row">
<h5>{{doc.document_type.name}}</h5>
- <h6>{{doc.user.first_name}} {{doc.user.last_name}} ({{doc.user.username}})</h6>
+ <h6>{{doc.usercode.first_name}} {{doc.usercode.last_name}} ({{doc.usercode.branca}})</h6>
<h6>{{doc.code}}</h6>
</div>
<div class="hide-on-large-only">