Projet

Général

Profil

« Précédent | Suivant » 

Révision 9090c9dd

Ajouté par Serghei Mihai il y a plus de 9 ans

agenda: display the services list or "Tous" for group holidays instead of check icon

Closes #4171

Voir les différences:

calebasse/personnes/templates/personnes/group_holidays_list.html
40 40
            <li class="start_time">Heure de début</li>
41 41
            <li class="end_time">Heure de fin</li>
42 42
            <li class="type">Type</li>
43
            <li class="all">Tous les services</li>
43
            <li class="all">Services</li>
44 44
            <li class="comment">Commentaire</li>
45 45
            <li class="actions">Actions</li>
46 46
          </ul>
......
53 53
            <li class="start_time">{% if object.start_time %}{{ object.start_time }}{% else %}---{% endif %}</li>
54 54
            <li class="end_time">{% if object.end_time %}{{ object.end_time }}{% else %} --- {% endif %}</li>
55 55
            <li class="type">{{ object.holiday_type }}</li>
56
            <li class="all">{% if object.for_all_services %}<span class="icon-ok"></span>{% endif %}</li>
56
            <li class="all">
57
              {% if object.for_all_services %}Tous{% else %}
58
              {% for service in object.services.all %}
59
              <p>{{ service }}</p>
60
              {% endfor %}
61
              {% endif %}
62
            </li>
57 63
            <li class="comment">{{ object.comment }}</li>
58 64
            <li class="actions">
59 65
              <button class="icon-edit" data-action='edit' data-id='{{ object.id }}'></button>

Formats disponibles : Unified diff