templates: remove empty anchors (#18185)
This commit is contained in:
parent
47829f9d76
commit
1a4d79712a
|
@ -9,9 +9,9 @@
|
|||
{% block breadcrumb %}
|
||||
{{ block.super }}
|
||||
{% if object.id %}
|
||||
<a href="#">{{object.label}}</a>
|
||||
<a href="">{{object.label}}</a>
|
||||
{% else %}
|
||||
<a href="#">{% trans "New Desk" %}</a>
|
||||
<a href="">{% trans "New Desk" %}</a>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
{% block breadcrumb %}
|
||||
{{ block.super }}
|
||||
{% if object.id %}
|
||||
<a href="#">{{object}}</a>
|
||||
<a href="">{{object}}</a>
|
||||
{% else %}
|
||||
<a href="#">{% trans "New time period exception" %}</a>
|
||||
<a href="">{% trans "New time period exception" %}</a>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<ul class="objects-list single-links">
|
||||
{% for exception in object_list %}
|
||||
<li>
|
||||
<a href="{% if user_can_manage %}{% url 'chrono-manager-time-period-exception-edit' pk=exception.id %}{% else %}#{% endif %}">{{ exception }}</a>
|
||||
<a {% if user_can_manage %}href="{% url 'chrono-manager-time-period-exception-edit' pk=exception.id %}"{% endif %}>{{ exception }}</a>
|
||||
{% if user_can_manage %}<a rel="popup" class="delete" href="{% url 'chrono-manager-time-period-exception-delete' pk=exception.id %}">{% trans "remove" %}</a>{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
{% block breadcrumb %}
|
||||
{{ block.super }}
|
||||
{% if object.id %}
|
||||
<a href="#">{{object}}</a>
|
||||
<a href="">{{object}}</a>
|
||||
{% else %}
|
||||
<a href="#">{% trans "New Time Period" %}</a>
|
||||
<a href="">{% trans "New Time Period" %}</a>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue