summaryrefslogtreecommitdiff
path: root/templates/tree.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/tree.html')
-rw-r--r--templates/tree.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/tree.html b/templates/tree.html
index f8d83e6..2a5045b 100644
--- a/templates/tree.html
+++ b/templates/tree.html
@@ -34,7 +34,7 @@ $(function() {
<div id="tree">
{% if name and render.up %}
{% if name.parent %}
- <a href="/name/id/{{name.parent.id}}">.. (up one level)</a>
+ <a href="{{name.parent.url}}">.. (up one level)</a>
{% else %}
<a href="/name">.. (up one level)</a>
{% endif %}
@@ -62,7 +62,7 @@ $(function() {
</div>
<div id="right">
<div id="headline">
-<a style="text-decoration: none" href="{% if name %}/name/id/{{name.id}}{% else %}/{% endif %}">{% if name %}{{name.shortname}}{% else %}{% endif %}</a>
+<a style="text-decoration: none" href="{% if name %}{{name.url}}{% else %}/{% endif %}">{% if name %}{{name.shortname}}{% else %}{% endif %}</a>
</div>
{% block content %}{% endblock %}
</div>