summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/apps/name/name.html3
-rw-r--r--templates/tree.html8
2 files changed, 5 insertions, 6 deletions
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 %}
+ <h1>This is the top of the namespace</h1>
+ {% endif %}
{% if name.description %}
<div class="ui-widget">
<div class="ui-state-highlight ui-corner-all infopanel">
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 @@
<script type="text/javascript">
$(function() {
{% block widgets %}{% endblock %}
-{% if name %}
$('#jstree').jstree({
'json_data': {
'ajax': {
@@ -23,16 +22,14 @@ $(function() {
'animation': 0,
'plugins': ['themes','json_data']
});
-{% endif %}
});
</script>
{% endblock %}
{% block headline %}
-<a style="text-decoration: none" href="{% if name %}/name/id/{{name.id}}{% else %}/{% endif %}">{% if name %}{{name.shortname}}{% else %}{{profile.display_name}}{% endif %}</a>
+<a style="text-decoration: none" href="{% if name %}/name/id/{{name.id}}{% else %}/{% endif %}">{% if name %}{{name.shortname}}{% else %}Top{% endif %}</a>
{% 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 %}
<div id="left">
<div id="tree">
{% if name and render.up %}
@@ -63,7 +60,6 @@ $(function() {
{% endif %}
</div>
</div>
-{% endif %}
<div id="right">
{% block content %}{% endblock %}
</div>