Projet

Général

Profil

« Précédent | Suivant » 

Révision 7b8d8bd5

Ajouté par Serghei Mihai (congés, retour 15/05) il y a presque 10 ans

agenda: icon displayed or hidden on comment update

Closes #2509

Voir les différences:

calebasse/agenda/templates/agenda/ajax-worker-tab.html
3 3
<p><a href="{% url 'periodic-events-for-worker' service=service date=date worker_id=worker_agenda.worker.id %}">Rendez-vous périodiques</a></p>
4 4
<div {% if appointment.event_id %}data-event-id="{{ appointment.event_id }}"{% endif %}>
5 5
  {% for appointment in worker_agenda.appointments %}
6
  <h3 class="{{ appointment.type }} {% if appointment.act_absence %}act-absence{% endif %} appointment"
6
  <h3 id="{{ appointment.event_id }}" class="{{ appointment.type }} {% if appointment.act_absence %}act-absence{% endif %} appointment"
7 7
      {% if appointment.act_absence %}title="{{appointment.act_absence}}"{% endif %}>
8 8
    <span class="hour">{{ appointment.begin_hour }}</span>
9 9
    <span class="length">{% if appointment.length %}{% if appointment.length|str_length_lt:3 %}&nbsp;{% endif %}{{ appointment.length }} mn{% endif %}</span>
......
33 33
        {% for service_name in appointment.other_services_names %}
34 34
        <span class="box {{ service_name }}" title="{{ service_name }}"></span>
35 35
        {% endfor %}
36
        {% if appointment.description %}
37
        <span title="Un commentaire existe" class="icon-comment"></span>
38
        {% endif %}
36
        <span title="Un commentaire existe" class="icon-comment" {% if appointment.description %}style='display: inline'{% endif %}></span>
39 37
        {% if appointment.event_id %}
40 38
        {% if appointment.is_recurrent %} R {% endif %}
41 39
          {% if appointment.patient.confidential %}

Formats disponibles : Unified diff