#2720 Do not show the `Fork and edit` button all the time
Merged by pingou. Opened by pingou.
fork_edit_btn  into  master

Download 2720.patch

If the project you are viewing is your own fork there is no need to
offer to fork and edit a file.

Fixes https://pagure.io/pagure/issue/2559

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

rebased onto 1e6b4108627a3132eab96f5f36894d263b704b56

Should this be commented ? or removed ?

Should this be commented ? or removed ?

How this test is different from https://pagure.io/pagure/pull-request/2720#2_65

Docstring should be updated here

Only a few minor comments, otherwise LGTM :thumbsup:

Remove +1

Remove +1

The first one has no git repo while this one has but the files asked don't exist in it

Tests adjusted, thanks for the review! :)

rebased onto 12829b2e3ba7120595cd2da7eb6e4dbcb954da45

Pull-Request has been merged by pingou

Metadata