From 147eb0dda670646133d424ea5aff7c432103aebe Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Thu, 5 Aug 2010 10:14:04 +0200 Subject: make permissions and tools part of all templates --- templates/apps/name/name.html | 23 ----------------------- templates/base.html | 27 ++++++++++++++++++++++++++- templates/tree.html | 4 ++-- 3 files changed, 28 insertions(+), 26 deletions(-) (limited to 'templates') diff --git a/templates/apps/name/name.html b/templates/apps/name/name.html index 6a5929a..c746e44 100644 --- a/templates/apps/name/name.html +++ b/templates/apps/name/name.html @@ -13,29 +13,6 @@ active: false }); {% endblock %} -{% block tools %} -
- -
-{% endblock %} {% block content %} {% if name.description %}
diff --git a/templates/base.html b/templates/base.html index 88198ae..78af32d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -93,7 +93,32 @@
- {% block tools %}{% endblock %} + {% block tools %} +{% if name %} +
+ +
+{% endif %} +{% endblock %} {% endif %}
diff --git a/templates/tree.html b/templates/tree.html index 0d2e6cd..38ecfac 100644 --- a/templates/tree.html +++ b/templates/tree.html @@ -43,14 +43,14 @@ $(function() { {% if name and name.links %}

Related resources

{% if render.edit %} - + {% endif %}
-- cgit v1.1