Projet

Général

Profil

0003-manager-simplify-exception-source-display.patch

Lauréline Guérin, 02 février 2021 14:32

Télécharger (1,46 ko)

Voir les différences:

Subject: [PATCH 03/11] manager: simplify exception source display

 chrono/manager/templates/chrono/manager_import_exceptions.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
chrono/manager/templates/chrono/manager_import_exceptions.html
17 17
  <ul class="objects-list single-links">
18 18
      {% for object in exception_sources %}
19 19
        <li>
20
          <a {% if not object.enabled %}class="disabled"{% endif %} title="{{ object }}" {% if object.ics_url %}href="{{ object }}"{% endif %}>{% if object.ics_filename %}{{ object|truncatechars:50 }}{% else %}{{ object|truncatechars:50 }}{% endif %}</a>
20
            <a {% if not object.enabled %}class="disabled"{% endif %} title="{{ object }}" {% if object.ics_url %}href="{{ object }}"{% endif %}>{{ object|truncatechars:50 }}</a>
21 21
          {% if object.ics_filename %}
22 22
            <a rel="popup" class="link-action-icon refresh" href="{% url 'chrono-manager-time-period-exception-source-replace' object.pk %}">{% trans "replace" %}</a>
23 23
          {% elif object.ics_url %}
24
-