From 1e9f713cee0f9bd618adda2ac8c31f1161af3de2 Mon Sep 17 00:00:00 2001 From: tenstormavi Date: Oct 21 2016 09:23:01 +0000 Subject: [PATCH 1/2] Fixes : Fork button still visible after fork. Issue #1225. --- diff --git a/.gitignore b/.gitignore index 0b837d0..9c73ef3 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,7 @@ docs/ requests/ releases/ remotes/ - +pagure_env/ # Other python/editor specific files to ignore dist/ build/ diff --git a/pagure/templates/repo_master.html b/pagure/templates/repo_master.html index 95abc8c..489f2e5 100644 --- a/pagure/templates/repo_master.html +++ b/pagure/templates/repo_master.html @@ -43,9 +43,15 @@ namespace=repo.namespace) }}"> {{ forkbuttonform.csrf_token }} - + View Fork + {% else %} + + {% endif %} {% endif %} - {% else %}