summaryrefslogtreecommitdiff
path: root/templates/edit.html
diff options
context:
space:
mode:
authoretienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35>2009-12-28 18:44:20 +0000
committeretienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35>2009-12-28 18:44:20 +0000
commit852d50136ca934a314712983f16ee1abeac6a19b (patch)
treef14fd7aa78bdbf1973e0992a1c806560c1aff810 /templates/edit.html
parent648e765944add7137feecfa8ea139267e1ed520c (diff)
downloadPapillon-852d50136ca934a314712983f16ee1abeac6a19b.tar.bz2
Papillon-852d50136ca934a314712983f16ee1abeac6a19b.zip
Simplification of base url management
Diffstat (limited to 'templates/edit.html')
-rw-r--r--templates/edit.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/edit.html b/templates/edit.html
index f24395f..7ef4f14 100644
--- a/templates/edit.html
+++ b/templates/edit.html
@@ -3,9 +3,9 @@
{% load i18n %}
{% block fullscript %}
-<script type="text/javascript" src="http://{{root_url}}admin/jsi18n/"></script>
-<script type="text/javascript" src="http://{{root_url}}media/js/core.js"></script>
-<script type="text/javascript" src="http://{{root_url}}media/js/admin/RelatedObjectLookups.js"></script>
+<script type="text/javascript" src="{{root_url}}admin/jsi18n/"></script>
+<script type="text/javascript" src="{{root_url}}media/js/core.js"></script>
+<script type="text/javascript" src="{{root_url}}media/js/admin/RelatedObjectLookups.js"></script>
{{ form.media }}
{% endblock %}
@@ -16,7 +16,7 @@
<tr>
<td><label>{% trans "Poll url" %}</label></td>
<td>
-<a href='http://{{root_url}}poll/{{poll.base_url}}'>http://{{root_url}}poll/{{poll.base_url}}</a>
+<a href='{{root_url}}poll/{{poll.base_url}}'>{{root_url}}poll/{{poll.base_url}}</a>
</td>
<td class='form_description'><p>
{% trans "Copy this address and send it to voters who want to participate to this poll" %}
@@ -25,7 +25,7 @@
<tr>
<td><label>{% trans "Administration url" %}</label></td>
<td>
-<a href='http://{{root_url}}edit/{{poll.admin_url}}'>http://{{root_url}}edit/{{poll.admin_url}}</a>
+<a href='{{root_url}}edit/{{poll.admin_url}}'>{{root_url}}edit/{{poll.admin_url}}</a>
</td>
<td class='form_description'><p>
{% trans "Address to modify the current poll" %}
@@ -34,7 +34,7 @@
<tr>
<td><label>{% trans "Choices administration url" %}</label></td>
<td>
-<a href='http://{{root_url}}editChoicesAdmin/{{poll.admin_url}}'>http://{{root_url}}editChoicesAdmin/{{poll.admin_url}}</a>
+<a href='{{root_url}}editChoicesAdmin/{{poll.admin_url}}'>{{root_url}}editChoicesAdmin/{{poll.admin_url}}</a>
</td>
<td class='form_description'><p>
{% trans "Address to modify choices of the current poll." %}