Projet

Général

Profil

0001-use-min-as-symbol-for-minutes-5102.patch

Frédéric Péters, 07 juillet 2014 08:20

Télécharger (3,33 ko)

Voir les différences:

Subject: [PATCH] use "min" as symbol for minutes (#5102)

 calebasse/agenda/templates/agenda/ajax-ressource-tab.html | 2 +-
 calebasse/agenda/templates/agenda/ajax-worker-tab.html    | 2 +-
 calebasse/agenda/templates/agenda/periodic-events.html    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
calebasse/agenda/templates/agenda/ajax-ressource-tab.html
7 7
      {% if appointment.act_absence %}title="{{appointment.act_absence}}"{% endif %} id="{{ appointment.event_id }}">
8 8
    <span class="hour">{{ appointment.begin_hour }}</span>
9 9
    {% if appointment.title %}<span class="title">{{ appointment.title }}</span>{% endif %}
10
    {% if appointment.length %}<span class="length">{{ appointment.length }} mn</span> {% endif %}
10
    {% if appointment.length %}<span class="length">{{ appointment.length }} min</span> {% endif %}
11 11
    {% if appointment.act_type %}<span class="act_type">{{ appointment.act_type }}</span>{% endif %}
12 12
    <span class="participants">
13 13
    {% if appointment.len_workers > 4 %}
calebasse/agenda/templates/agenda/ajax-worker-tab.html
6 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
    <span class="length">{% if appointment.length %}{% if appointment.length|str_length_lt:3 %}&nbsp;{% endif %}{{ appointment.length }} mn{% endif %}</span>
9
    <span class="length">{% if appointment.length %}{% if appointment.length|str_length_lt:3 %}&nbsp;{% endif %}{{ appointment.length }} min{% endif %}</span>
10 10
    <span class="title">{% if appointment.title %}{{ appointment.title }}{% endif %}
11 11
    {% if appointment.patient.paper_id %} {{ appointment.patient.paper_id }} {% endif %}</span>
12 12
    <span class="participants">
calebasse/agenda/templates/agenda/periodic-events.html
88 88
        <span class="hour">{{ event.start_datetime.time }}</span>
89 89
        {% if event.title %} — {{ event.title }} {% endif %}
90 90
        {% if event.patient.paper_id %} — {{ event.patient.paper_id }} {% endif %}
91
        {% if event.length %} — {{ event.length }} mn {% endif %}
91
        {% if event.length %} — {{ event.length }} min {% endif %}
92 92
        {% if event.workers_initial %} — {{ event.workers_initial }} {% endif %}
93 93
        {% if event.ressource %} — {{ event.ressource }} {% endif %}
94 94
        <span class="right">
95
-