From 016c8059dc17de56b3361b72ec9f9fd122bb6d2b Mon Sep 17 00:00:00 2001 From: Hironsan Date: Mon, 6 Aug 2018 16:22:03 +0900 Subject: [PATCH] Hide buttons if user is not superuser --- app/db.sqlite3 | Bin 262144 -> 262144 bytes app/server/templates/projects.html | 4 ++++ 2 files changed, 4 insertions(+) diff --git a/app/db.sqlite3 b/app/db.sqlite3 index 6e64078bd9bcc561f4c50b62f32817f65cc0c3ff..76014c1b9129579833c13f0d71427da5f466b2a3 100644 GIT binary patch delta 287 zcmZo@5NK!+m>|t~Y@&=aGZ5 delta 151 zcmV;I0BHY!fDnLy5Re-I!;u_A0mHFi)SeVKEi*A7F)%tYF*-FiE;leUG&wPYNS}vD zp8>Z>p8~wl5C#a001m I hope you are having a great day! + {% if user.is_superuser %}

Create Project

+ {% endif %} @@ -93,10 +95,12 @@

+ {% if user.is_superuser %} + {% endif %}