Pārlūkot izejas kodu

rimosso numero documenti sostituito con un N/A quando non presenti

mauro 7 mēneši atpakaļ
vecāks
revīzija
4334846bfd
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      utente/templates/utente.welcome.html

+ 1 - 1
utente/templates/utente.welcome.html

@@ -65,7 +65,7 @@ function toggle(source) {
 	  <td> {{ uu.datanascita|date:'d/m/Y' }} </td>
 	  <td> {{ uu.luogonascita }} </td>
           {% if "DOCUMENTO" in permesso %}
-	    <td> <a href='{% url 'documento:welcome' uu.id %}'>{{ uu.documenti }}</a></td>
+	  <td>{% if uu.documenti %}<a href='{% url 'documento:welcome' uu.id %}'>Download</a>{% else %} N/A {% endif %}</td>
           {% endif %}
           {% if "UTENTE.EDIT" in permesso %}
             <td> {{ uu.mail }} </td>