diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-02-08 17:54:53 +0300 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-02-08 17:54:53 +0300 |
commit | af420c3e805ee89c76dff2e0a4aeb17a726f0fe9 (patch) | |
tree | 4812d6d7d926937274d56bbae5768391ac072bd4 | |
parent | c074d41c7d9eb7bf0417992cf91c2d717e28b6a5 (diff) |
Remove plus icon in commits view MR button
-rw-r--r-- | app/views/projects/commits/show.html.haml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/projects/commits/show.html.haml b/app/views/projects/commits/show.html.haml index d94f23f5a38..08cb8a04413 100644 --- a/app/views/projects/commits/show.html.haml +++ b/app/views/projects/commits/show.html.haml @@ -22,9 +22,7 @@ = link_to "View Open Merge Request", namespace_project_merge_request_path(@project.namespace, @project, @merge_request), class: 'btn' - elsif create_mr_button?(@repository.root_ref, @ref) .control - = link_to create_mr_path(@repository.root_ref, @ref), class: 'btn btn-success' do - = icon('plus') - Create Merge Request + = link_to "Create Merge Request", create_mr_path(@repository.root_ref, @ref), class: 'btn btn-success' .control = form_tag(namespace_project_commits_path(@project.namespace, @project, @id), method: :get, class: 'commits-search-form') do |