diff options
| -rw-r--r-- | chimere/templates/chimere/category_item_detail.html | 2 | ||||
| -rw-r--r-- | chimere/templates/chimere/detail.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chimere/templates/chimere/category_item_detail.html b/chimere/templates/chimere/category_item_detail.html index 3f90c6c..284dfd0 100644 --- a/chimere/templates/chimere/category_item_detail.html +++ b/chimere/templates/chimere/category_item_detail.html @@ -27,7 +27,7 @@ {% if marker.license %}<p class='detail_license'><strong>{% trans "License:" %}</strong> <span>{{marker.license}}</span></p>{% endif %} {% share_bar marker.name %} <a href="{% get_tinyfied_url marker area_name %}">{% trans "See on the map" %}</a> - <p class='detail_amendment'><a href='{% if marker.route %}{% url chimere:editroute-item area_name_slash|default_if_none:"" marker.route.pk "" %}{%else%}{% url chimere:edit-item area_name_slash|default_if_none:"" marker.pk "" %}{%endif%}'> + <p class='detail_amendment'><a href='{% if marker.route %}{% url chimere:editroute-item area_name_slash|default_if_none:"" marker.route.pk "" %}{%else%}{% url chimere:editmarker-item area_name_slash|default_if_none:"" marker.pk "" %}{%endif%}'> {% trans "Submit an amendment" %} </a> {% if moderator_emails %} diff --git a/chimere/templates/chimere/detail.html b/chimere/templates/chimere/detail.html index 11ce8d2..d73d8a5 100644 --- a/chimere/templates/chimere/detail.html +++ b/chimere/templates/chimere/detail.html @@ -30,7 +30,7 @@ </p>{% endif %} </div> {% share_bar marker.name %} - <p class='detail_amendment'><a href='{% if marker.polygon %}{% url chimere:editpolygon-item area_name_slash|default_if_none:"" marker.pk "" %}{% else %}{% if marker.route %}{% url chimere:editroute-item area_name_slash|default_if_none:"" marker.route.pk "" %}{% else %}{% url chimere:edit-item area_name_slash|default_if_none:"" marker.pk "" %}{% endif %}{% endif %}'> + <p class='detail_amendment'><a href='{% if marker.polygon %}{% url chimere:editpolygon-item area_name_slash|default_if_none:"" marker.pk "" %}{% else %}{% if marker.route %}{% url chimere:editroute-item area_name_slash|default_if_none:"" marker.route.pk "" %}{% else %}{% url chimere:editmarker-item area_name_slash|default_if_none:"" marker.pk "" %}{% endif %}{% endif %}'> {% trans "Submit an amendment" %} </a> {% if moderator_emails %} |
