Explorar el Código

modificata visulizzazione sedi in ordine alfabetico

mauro hace 9 meses
padre
commit
cb8889eb1d
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      static/templates/base.html

+ 2 - 2
static/templates/base.html

@@ -45,9 +45,9 @@
             <form name="sceglisede" method=POST class='d-flex'>
             {% csrf_token %}
             <select class="form-select form-select-lg mb-1" aria-label=".form-select-lg" name="sceltasede" onchange="this.form.submit()">
-	      <option value=-1>Scelta Sede</option>
+	      <option value=-1>Tutte le Sedi</option>
               {% for s in SedeLista %}
-	      <option value={{ s.id }} {% if s.id == sede.id %}selected{% endif %}>{{ s.nome }}</button></option>
+	      <option value={{ s.id }} {% if s.id == sede.id %}selected{% endif %}>{{ s.nome }} {% if s.identificativo %}({{ s.identificativo }}){% endif %}</button></option>
               {% endfor %}
               <option value=0>Nuova Sede</option>
             </select>