diff options
author | Jacob Schatz <jschatz1@gmail.com> | 2016-02-23 14:07:36 +0000 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2016-02-23 14:07:36 +0000 |
commit | 06f7fd2fb75293ca2bfeb36dd0552d88a8ca855a (patch) | |
tree | cd49573bc8ae59268927187782110840c55aea4a /app | |
parent | f5be56710f0e71042df98f7f7eefbcfed72d912d (diff) | |
parent | 3ec1bffc6c902fa04d7d4281b26225a9d640424e (diff) | |
download | gitlab-ce-06f7fd2fb75293ca2bfeb36dd0552d88a8ca855a.tar.gz |
Merge branch 'empty-repo-instructions-fix' into 'master'
Users don't get instructions to push to other users empty projects
Fixes #12518
![Screen_Shot_2016-02-22_at_17.38.18](/uploads/42a3c32af1326f15a7b40fd7153a89fb/Screen_Shot_2016-02-22_at_17.38.18.png)
See merge request !2923
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/empty.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/empty.html.haml b/app/views/projects/empty.html.haml index b34d106d565..6ad7b05155a 100644 --- a/app/views/projects/empty.html.haml +++ b/app/views/projects/empty.html.haml @@ -18,7 +18,7 @@ = link_to "adding README", new_readme_path, class: 'underlined-link' file to this project. -- if can?(current_user, :download_code, @project) +- if can?(current_user, :push_code, @project) %div{ class: container_class } .prepend-top-20 .empty_wrapper |