summaryrefslogtreecommitdiff
path: root/templates/tree.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/tree.html')
-rw-r--r--templates/tree.html8
1 files changed, 2 insertions, 6 deletions
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>