From a27a49113d4037cad11305f8b4ddc70fff207fc8 Mon Sep 17 00:00:00 2001 From: tenstormavi Date: Aug 29 2016 11:21:32 +0000 Subject: [PATCH 1/2] Fixes : Fork button still visible after fork. Issue #1225. --- diff --git a/.gitignore b/.gitignore index da43781..0f437a9 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 dce98ff..2568ab6 100644 --- a/pagure/templates/repo_master.html +++ b/pagure/templates/repo_master.html @@ -31,9 +31,15 @@ '.fork_project', repo=repo.name, username=username) }}"> {{ forkbuttonform.csrf_token }} - + View Fork + {% else %} + + {% endif %} {% endif %} + View Fork {% else %} + Fork {% endif %} {% endif %}