diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-02-28 11:06:18 +0300 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-03-07 18:55:34 +0300 |
commit | e74879280f0cbf48fa0dcf8031e711cc51c9183f (patch) | |
tree | 291ec858063ba12d569b5a2810215d67b62195ac /app/views/projects/blob/_new_dir.html.haml | |
parent | c9557ad711c6cdf4465fb8c3c9b0dbaffcafa0e8 (diff) |
Allow maintainers to edit directly in a fork
Diffstat (limited to 'app/views/projects/blob/_new_dir.html.haml')
-rw-r--r-- | app/views/projects/blob/_new_dir.html.haml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/projects/blob/_new_dir.html.haml b/app/views/projects/blob/_new_dir.html.haml index 5d48a35dc4c..48ff66900be 100644 --- a/app/views/projects/blob/_new_dir.html.haml +++ b/app/views/projects/blob/_new_dir.html.haml @@ -17,6 +17,4 @@ = submit_tag _("Create directory"), class: 'btn btn-create' = link_to "Cancel", '#', class: "btn btn-cancel", "data-dismiss" => "modal" - - unless can?(current_user, :push_code, @project) - .inline.prepend-left-10 - = commit_in_fork_help + = render 'shared/projects/edit_information' |