diff options
author | Andrea Lepori <aleporia@gmail.com> | 2023-08-24 10:16:43 +0200 |
---|---|---|
committer | Andrea Lepori <aleporia@gmail.com> | 2023-08-24 10:16:44 +0200 |
commit | 9e7fcb4e4da27cc0a55c492a1a6217617214c79a (patch) | |
tree | 28cbc880c5ae10dd93a3399055451211fa27484b | |
parent | check if person has a branca (diff) | |
download | scout-subs-9e7fcb4e4da27cc0a55c492a1a6217617214c79a.tar.gz scout-subs-9e7fcb4e4da27cc0a55c492a1a6217617214c79a.zip |
change approve direct page to show correct data
-rw-r--r-- | server/templates/server/approve_doc_direct.html | 4 | ||||
-rw-r--r-- | version.txt | 2 |
2 files changed, 3 insertions, 3 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"> diff --git a/version.txt b/version.txt index a6bfcb6..014b24f 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ version=0.7 -rev=4 +rev=5 |