diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-08 17:10:07 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-08 17:10:07 +0100 |
commit | 82ddd738b672afd4ed28f12fb58f512fa117d2be (patch) | |
tree | 2630ea3648b68058293a6d3f91d753a45fd1a6bb /app/views/projects/blob/show.html.haml | |
parent | df6750d3d6b562c8a6a0a57c12dfd694da38a0e8 (diff) | |
download | gitlab-ce-82ddd738b672afd4ed28f12fb58f512fa117d2be.tar.gz |
Show tooltip when trying to edit file when not on branch
Diffstat (limited to 'app/views/projects/blob/show.html.haml')
-rw-r--r-- | app/views/projects/blob/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/blob/show.html.haml b/app/views/projects/blob/show.html.haml index 09d6fc18e3e..3f8d11ed8c8 100644 --- a/app/views/projects/blob/show.html.haml +++ b/app/views/projects/blob/show.html.haml @@ -6,7 +6,7 @@ %div#tree-holder.tree-holder = render 'blob', blob: @blob -- if can_delete_or_replace?(@blob) +- if blob_editable?(@blob) = render 'projects/blob/remove' - title = "Replace #{@blob.name}" |