summaryrefslogtreecommitdiff
path: root/chimere
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2012-05-28 18:15:29 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2012-05-28 18:15:29 +0200
commit9cf376d314f0dabd620a5cde6f28202252951b6d (patch)
treec53f3e3003fc724b3145cc00691793fd2a308087 /chimere
parente29a3b23cdaae54f289140828af8b473d180230b (diff)
downloadChimère-9cf376d314f0dabd620a5cde6f28202252951b6d.tar.bz2
Chimère-9cf376d314f0dabd620a5cde6f28202252951b6d.zip
Fix bad url for marker and route edition
Diffstat (limited to 'chimere')
-rw-r--r--chimere/templates/chimere/detail.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/chimere/templates/chimere/detail.html b/chimere/templates/chimere/detail.html
index a5ede4d..82d9e81 100644
--- a/chimere/templates/chimere/detail.html
+++ b/chimere/templates/chimere/detail.html
@@ -33,7 +33,7 @@
<li>{% trans "Share"%}</li>{% for share_network in share_networks %}
<li><a href='{{share_network.1}}'><img src="{{share_network.2}}" alt="{{share_network.0}}"/></a></li>
{% endfor %}</ul>{% endif %}
- <a href='{% if marker.route %}{% url chimere:editroute-item area_name marker.route.pk %}{%else%}{% url chimere:edit-item area_name marker.pk %}{%endif%}'>
+ <a href='{% if marker.route %}{% url chimere:editroute-item area_name|default_if_none:"" marker.route.pk "" %}{%else%}{% url chimere:edit-item area_name|default_if_none:"" marker.pk "" %}{%endif%}'>
{% trans "Submit a modification" %}
</a>
{% endif %}