From edc86859e755d949919d4cf9fd82689ae31e60ef Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Fri, 17 Dec 2010 23:18:38 +0100 Subject: make the root namespace display ok --- templates/apps/name/name.html | 3 +++ templates/tree.html | 8 ++------ 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'templates') diff --git a/templates/apps/name/name.html b/templates/apps/name/name.html index c746e44..56d4229 100644 --- a/templates/apps/name/name.html +++ b/templates/apps/name/name.html @@ -14,6 +14,9 @@ }); {% endblock %} {% block content %} + {% if not name %} +

This is the top of the namespace

+ {% endif %} {% if name.description %}
diff --git a/templates/tree.html b/templates/tree.html index 6fd7dab..f7a18cb 100644 --- a/templates/tree.html +++ b/templates/tree.html @@ -3,7 +3,6 @@ {% endblock %} {% block headline %} -{% if name %}{{name.shortname}}{% else %}{{profile.display_name}}{% endif %} +{% if name %}{{name.shortname}}{% else %}Top{% endif %} {% endblock %} -{% block title %}COIP{% if name %} - {{name.shortname}}{% endif %}{% endblock %} +{% block title %}COIP{% if name %} - {{name.shortname}}{% else %} - top{% endif %}{% endblock %} {% block main %} -{% if name %}
{% if name and render.up %} @@ -63,7 +60,6 @@ $(function() { {% endif %}
-{% endif %} -- cgit v1.1