From a19da372af8a3e45004701606bc12e0da5bb9023 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 12 2019 12:11:58 +0000 Subject: Move the side-bar of the repo_master into its own template This allows easier overriding of the template in other themes. Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/templates/repo_master.html b/pagure/templates/repo_master.html index 355fe82..0c238c3 100644 --- a/pagure/templates/repo_master.html +++ b/pagure/templates/repo_master.html @@ -433,71 +433,5 @@ $("#pr-button").one("click", {% endblock %} {% block overviewtabs %} - +{% include 'repo_master_sidebar.html' %} {% endblock %} diff --git a/pagure/templates/repo_master_sidebar.html b/pagure/templates/repo_master_sidebar.html new file mode 100644 index 0000000..4790666 --- /dev/null +++ b/pagure/templates/repo_master_sidebar.html @@ -0,0 +1,67 @@ +