Projet

Général

Profil

0001-templates-remove-empty-anchors-18185.patch

Frédéric Péters, 14 janvier 2020 15:01

Télécharger (3,24 ko)

Voir les différences:

Subject: [PATCH] templates: remove empty anchors (#18185)

 chrono/manager/templates/chrono/manager_desk_form.html        | 4 ++--
 .../templates/chrono/manager_time_period_exception_form.html  | 4 ++--
 .../templates/chrono/manager_time_period_exception_list.html  | 2 +-
 chrono/manager/templates/chrono/manager_time_period_form.html | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)
chrono/manager/templates/chrono/manager_desk_form.html
9 9
{% block breadcrumb %}
10 10
{{ block.super }}
11 11
{% if object.id %}
12
<a href="#">{{object.label}}</a>
12
<a href="">{{object.label}}</a>
13 13
{% else %}
14
<a href="#">{% trans "New Desk" %}</a>
14
<a href="">{% trans "New Desk" %}</a>
15 15
{% endif %}
16 16
{% endblock %}
17 17

  
chrono/manager/templates/chrono/manager_time_period_exception_form.html
9 9
{% block breadcrumb %}
10 10
{{ block.super }}
11 11
{% if object.id %}
12
<a href="#">{{object}}</a>
12
<a href="">{{object}}</a>
13 13
{% else %}
14
<a href="#">{% trans "New time period exception" %}</a>
14
<a href="">{% trans "New time period exception" %}</a>
15 15
{% endif %}
16 16
{% endblock %}
17 17

  
chrono/manager/templates/chrono/manager_time_period_exception_list.html
20 20
    <ul class="objects-list single-links">
21 21
    {% for exception in object_list %}
22 22
     <li>
23
         <a href="{% if user_can_manage %}{% url 'chrono-manager-time-period-exception-edit' pk=exception.id %}{% else %}#{% endif %}">{{ exception }}</a>
23
         <a {% if user_can_manage %}href="{% url 'chrono-manager-time-period-exception-edit' pk=exception.id %}"{% endif %}>{{ exception }}</a>
24 24
        {% if user_can_manage %}<a rel="popup" class="delete" href="{% url 'chrono-manager-time-period-exception-delete' pk=exception.id %}">{% trans "remove" %}</a>{% endif %}
25 25
    </li>
26 26
    {% endfor %}
chrono/manager/templates/chrono/manager_time_period_form.html
9 9
{% block breadcrumb %}
10 10
{{ block.super }}
11 11
{% if object.id %}
12
<a href="#">{{object}}</a>
12
<a href="">{{object}}</a>
13 13
{% else %}
14
<a href="#">{% trans "New Time Period" %}</a>
14
<a href="">{% trans "New Time Period" %}</a>
15 15
{% endif %}
16 16
{% endblock %}
17 17

  
18
-