diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-09 19:49:18 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-09 19:49:18 +0300 |
commit | 917b7e0dd95fcf4f37abbab9f5e4ce40446d6e76 (patch) | |
tree | bf9a4d4871642445b61e9af80106c5e6a2d91901 /app/views/projects/branches | |
parent | 63c9b63a3f2f996a2a7b40743613772a2351e842 (diff) |
Rename .btn-default to .btn-secondary
Diffstat (limited to 'app/views/projects/branches')
-rw-r--r-- | app/views/projects/branches/_branch.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/branches/_branch.html.haml b/app/views/projects/branches/_branch.html.haml index 883dfb3e6c8..09e5e28f5c4 100644 --- a/app/views/projects/branches/_branch.html.haml +++ b/app/views/projects/branches/_branch.html.haml @@ -42,12 +42,12 @@ .controls.hidden-xs< - if merge_project && create_mr_button?(@repository.root_ref, branch.name) - = link_to create_mr_path(@repository.root_ref, branch.name), class: 'btn btn-default' do + = link_to create_mr_path(@repository.root_ref, branch.name), class: 'btn btn-secondary' do = _('Merge request') - if branch.name != @repository.root_ref = link_to project_compare_index_path(@project, from: @repository.root_ref, to: branch.name), - class: "btn btn-default #{'prepend-left-10' unless merge_project}", + class: "btn btn-secondary #{'prepend-left-10' unless merge_project}", method: :post, title: s_('Branches|Compare') do = s_('Branches|Compare') |