From 13cfde3d1820fb3b217afc247e7330fd57314cd4 Mon Sep 17 00:00:00 2001 From: Felipe Henrique de Almeida Bormann Date: Thu, 29 Dec 2016 18:47:13 -0300 Subject: [PATCH] modified breadcrubms and removed options from admin user --- categories/templates/categories/list.html | 17 ++++++++++------- categories/templates/categories/list_users.html | 3 +++ 2 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 categories/templates/categories/list_users.html diff --git a/categories/templates/categories/list.html b/categories/templates/categories/list.html index 2be5dd1..3e7d58e 100755 --- a/categories/templates/categories/list.html +++ b/categories/templates/categories/list.html @@ -9,7 +9,7 @@ {% block breadcrumbs %} {{ block.super }} - {% breadcrumb 'Categories' 'categories:index' %} + {% breadcrumb "Manage Categories" 'categories:index' %} {% endblock %} {% block content %} @@ -25,12 +25,15 @@ {% endif %} -
- -
+ {% if not user.is_staff %} +
+ +
+ {% endif %} +
diff --git a/categories/templates/categories/list_users.html b/categories/templates/categories/list_users.html new file mode 100644 index 0000000..a132d65 --- /dev/null +++ b/categories/templates/categories/list_users.html @@ -0,0 +1,3 @@ +{% for user in users %} + +{% endfor %} \ No newline at end of file -- libgit2 0.21.2