From 9a6981d289865b3a22c645718e0e90865ea14638 Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Thu, 30 Jun 2022 15:24:19 +0200 Subject: Add Repositories section In Repositories section/view, users can manage task related to repositories. For example: list, add, delete and edit them. --- ogcp/templates/base.html | 3 +++ ogcp/templates/repositories.html | 33 +++++++++++++++++++++++++++++++++ ogcp/views.py | 8 ++++++++ 3 files changed, 44 insertions(+) create mode 100644 ogcp/templates/repositories.html diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html index 0ec773c..dca6fda 100644 --- a/ogcp/templates/base.html +++ b/ogcp/templates/base.html @@ -36,6 +36,9 @@ + {% if current_user.admin %}