aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Elkins <melkins@tislabs.com>2013-06-07 18:08:46 +0000
committerMichael Elkins <melkins@tislabs.com>2013-06-07 18:08:46 +0000
commite06b60ad0fac67e646593a573356f4c56e9750fb (patch)
treea3fd83a338a60220d5bd2ceea4847f6523913905
parent8f8d5f10127f2bddc3f1f830c4f83b78b596d017 (diff)
expand link to resource holder creation page with {% url %} rather than hardcoding it (duh)
see #528 svn path=/trunk/; revision=5380
-rw-r--r--rpkid/rpki/gui/app/templates/app/conf_empty.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/rpki/gui/app/templates/app/conf_empty.html b/rpkid/rpki/gui/app/templates/app/conf_empty.html
index 9dddc49d..f3f5d91d 100644
--- a/rpkid/rpki/gui/app/templates/app/conf_empty.html
+++ b/rpkid/rpki/gui/app/templates/app/conf_empty.html
@@ -6,7 +6,7 @@
<div class="alert alert-info">
There are currently no resource holders on this system.
</div>
-<a class="btn" href="https://localhost/rpki/resource_holder/create" title="create a new resource holder"><i class="icon-plus-sign"></i> Create</a>
+<a class="btn" href="{% url "rpki.gui.app.views.resource_holder_create" %}" title="create a new resource holder"><i class="icon-plus-sign"></i> Create</a>
{% else %}
<div class="alert alert-error">
Your account does not have permission to manage any resource handles on this server. Please contact your portal-gui adminstrator.