summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html2
-rw-r--r--templates/tree.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/base.html b/templates/base.html
index a212afb..742e5ab 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -63,7 +63,7 @@
{% if name %}
<div style="float: left;" class="navlist toolbar">
<ul>
- <li class="button"><a class="tip" title="This is the full name of the group. This is the name that will be exposed to applications." href="/name/id/{{name.id}}">{{ name }}</a></li>
+ <li class="button"><a class="tip" title="This is the full name of the group. This is the name that will be exposed to applications." href="{{name.url}}">{{ name }}</a></li>
</ul>
</div>
{% endif %}
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>