diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-08 22:30:40 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-08 22:30:40 +0100 |
commit | 57d71520bdc2ba79ba8182802cd944d4fb42a192 (patch) | |
tree | 0505c4ea7ce0a5ae53d9baeeedf0efac713b4e33 /app/views/projects/blob | |
parent | 7aeb7077cb906933c59e5b890fd4027005e34d3d (diff) | |
download | gitlab-ce-57d71520bdc2ba79ba8182802cd944d4fb42a192.tar.gz |
Make tooltip less confusing
Diffstat (limited to 'app/views/projects/blob')
-rw-r--r-- | app/views/projects/blob/_actions.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/blob/_actions.html.haml b/app/views/projects/blob/_actions.html.haml index 41d8765623e..b1df8d19938 100644 --- a/app/views/projects/blob/_actions.html.haml +++ b/app/views/projects/blob/_actions.html.haml @@ -21,6 +21,6 @@ %button.btn.btn-remove{ 'data-target' => '#modal-remove-blob', 'data-toggle' => 'modal' } Delete - elsif !on_top_of_branch? .btn-group{ role: "group" } - %button.btn.btn-default.disabled.has_tooltip{title: "You can only edit files when you are on top of a branch.", data: {container: 'body'}} Edit - %button.btn.btn-default.disabled.has_tooltip{title: "You can only replace files when you are on top of a branch.", data: {container: 'body'}} Replace - %button.btn.btn-remove.disabled.has_tooltip{title: "You can only delete files when you are on top of a branch.", data: {container: 'body'}} Delete + %button.btn.btn-default.disabled.has_tooltip{title: "You can only edit files when you are on a branch.", data: {container: 'body'}} Edit + %button.btn.btn-default.disabled.has_tooltip{title: "You can only replace files when you are on a branch.", data: {container: 'body'}} Replace + %button.btn.btn-remove.disabled.has_tooltip{title: "You can only delete files when you are on a branch.", data: {container: 'body'}} Delete |