summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2019-12-24 16:05:50 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2020-01-14 14:27:16 (GMT)
commit1a4d79712a4e85cee692477e67d9066eb8da7c16 (patch)
treeec7fac3c9b2c7811ca906a4aadc81911674932a8
parent47829f9d76ce1cac468c3eed28d5a5ade00c9ab0 (diff)
downloadchrono-1a4d79712a4e85cee692477e67d9066eb8da7c16.zip
chrono-1a4d79712a4e85cee692477e67d9066eb8da7c16.tar.gz
chrono-1a4d79712a4e85cee692477e67d9066eb8da7c16.tar.bz2
templates: remove empty anchors (#18185)
-rw-r--r--chrono/manager/templates/chrono/manager_desk_form.html4
-rw-r--r--chrono/manager/templates/chrono/manager_time_period_exception_form.html4
-rw-r--r--chrono/manager/templates/chrono/manager_time_period_exception_list.html2
-rw-r--r--chrono/manager/templates/chrono/manager_time_period_form.html4
4 files changed, 7 insertions, 7 deletions
diff --git a/chrono/manager/templates/chrono/manager_desk_form.html b/chrono/manager/templates/chrono/manager_desk_form.html
index 7952eb6..3329da6 100644
--- a/chrono/manager/templates/chrono/manager_desk_form.html
+++ b/chrono/manager/templates/chrono/manager_desk_form.html
@@ -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 %}
diff --git a/chrono/manager/templates/chrono/manager_time_period_exception_form.html b/chrono/manager/templates/chrono/manager_time_period_exception_form.html
index 15dd4fd..2db230a 100644
--- a/chrono/manager/templates/chrono/manager_time_period_exception_form.html
+++ b/chrono/manager/templates/chrono/manager_time_period_exception_form.html
@@ -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 %}
diff --git a/chrono/manager/templates/chrono/manager_time_period_exception_list.html b/chrono/manager/templates/chrono/manager_time_period_exception_list.html
index 06313ca..93954cf 100644
--- a/chrono/manager/templates/chrono/manager_time_period_exception_list.html
+++ b/chrono/manager/templates/chrono/manager_time_period_exception_list.html
@@ -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 %}
diff --git a/chrono/manager/templates/chrono/manager_time_period_form.html b/chrono/manager/templates/chrono/manager_time_period_form.html
index 815c57f..7b80933 100644
--- a/chrono/manager/templates/chrono/manager_time_period_form.html
+++ b/chrono/manager/templates/chrono/manager_time_period_form.html
@@ -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 %}