aboutsummaryrefslogtreecommitdiffstats
path: root/server/templates
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2021-10-05 10:29:38 +0200
committerAndrea Lepori <alepori@student.ethz.ch>2021-10-05 10:30:01 +0200
commitce8d077a5b61c2807720574eb3c1e1e30016f709 (patch)
tree34193871710f7676d68072214b0d46b1a1630049 /server/templates
parentfix ulist only of same group (diff)
downloadscout-subs-ce8d077a5b61c2807720574eb3c1e1e30016f709.tar.gz
scout-subs-ce8d077a5b61c2807720574eb3c1e1e30016f709.zip
fix primary group not showing, rename of field
Diffstat (limited to 'server/templates')
-rw-r--r--server/templates/server/doc_list.html4
-rw-r--r--server/templates/server/doc_list_readonly.html4
-rw-r--r--server/templates/server/download_doc.html2
-rw-r--r--server/templates/server/user_list.html2
4 files changed, 6 insertions, 6 deletions
diff --git a/server/templates/server/doc_list.html b/server/templates/server/doc_list.html
index 74024e7..736fdd4 100644
--- a/server/templates/server/doc_list.html
+++ b/server/templates/server/doc_list.html
@@ -209,7 +209,7 @@
<label for="birth_date">Data di nascita</label>
</div>
<div class="input-field col l4 s12">
- <input disabled value="{{base_group}}" id="branca" type="text">
+ <input disabled value="{{doc.user|user_primary_group}}" id="branca" type="text">
<label for="branca">Branca</label>
</div>
<div class="input-field col l4 s12">
@@ -230,7 +230,7 @@
</div>
<div class="input-field col l4 s12">
<input disabled value="{{doc.personal_data.country}}" name="country" id="country" type="text" >
- <label for="country">Paese</label>
+ <label for="country">Comune</label>
</div>
<div class="input-field col l4 s12">
<input disabled value="{{doc.personal_data.nationality}}" name="nationality" id="nationality" type="text" >
diff --git a/server/templates/server/doc_list_readonly.html b/server/templates/server/doc_list_readonly.html
index 0ed1650..6458ecd 100644
--- a/server/templates/server/doc_list_readonly.html
+++ b/server/templates/server/doc_list_readonly.html
@@ -190,7 +190,7 @@
<label for="birth_date">Data di nascita</label>
</div>
<div class="input-field col l4 s12">
- <input disabled value="{{base_group}}" id="branca" type="text">
+ <input disabled value="{{doc.user|user_primary_group}}" id="branca" type="text">
<label for="branca">Branca</label>
</div>
<div class="input-field col l4 s12">
@@ -211,7 +211,7 @@
</div>
<div class="input-field col l4 s12">
<input disabled value="{{doc.personal_data.country}}" name="country" id="country" type="text" >
- <label for="country">Paese</label>
+ <label for="country">Comune</label>
</div>
<div class="input-field col l4 s12">
<input disabled value="{{doc.personal_data.nationality}}" name="nationality" id="nationality" type="text" >
diff --git a/server/templates/server/download_doc.html b/server/templates/server/download_doc.html
index cce0c26..4e48b2c 100644
--- a/server/templates/server/download_doc.html
+++ b/server/templates/server/download_doc.html
@@ -69,7 +69,7 @@
</div>
<div class="input-field col l4 s12">
<input placeholder=" " value="{{doc.2.country}}" name="country" id="country" type="text" >
- <label class="active" for="country">Paese</label>
+ <label class="active" for="country">Comune</label>
</div>
<div class="input-field col l4 s12">
<input placeholder=" " value="{{doc.2.nationality}}" name="nationality" id="nationality" type="text" >
diff --git a/server/templates/server/user_list.html b/server/templates/server/user_list.html
index a14daea..6224df7 100644
--- a/server/templates/server/user_list.html
+++ b/server/templates/server/user_list.html
@@ -106,7 +106,7 @@
</div>
<div class="input-field col l4 s12">
<input disabled value="{{user.country}}" name="country" id="country" type="text" >
- <label for="country">Paese</label>
+ <label for="country">Comune</label>
</div>
<div class="input-field col l4 s12">
<input disabled value="{{user.nationality}}" name="nationality" id="nationality" type="text" >