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/snippets | |
parent | 63c9b63a3f2f996a2a7b40743613772a2351e842 (diff) |
Rename .btn-default to .btn-secondary
Diffstat (limited to 'app/views/projects/snippets')
-rw-r--r-- | app/views/projects/snippets/_actions.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/snippets/_actions.html.haml b/app/views/projects/snippets/_actions.html.haml index f09871c7fcc..c992856bbb5 100644 --- a/app/views/projects/snippets/_actions.html.haml +++ b/app/views/projects/snippets/_actions.html.haml @@ -14,7 +14,7 @@ = link_to 'Submit as spam', mark_as_spam_project_snippet_path(@project, @snippet), method: :post, class: 'btn btn-grouped btn-spam', title: 'Submit as spam' - if can?(current_user, :create_project_snippet, @project) || can?(current_user, :update_project_snippet, @snippet) .visible-xs-block.dropdown - %button.btn.btn-default.btn-block.append-bottom-0.prepend-top-5{ data: { toggle: "dropdown" } } + %button.btn.btn-secondary.btn-block.append-bottom-0.prepend-top-5{ data: { toggle: "dropdown" } } Options = icon('caret-down') .dropdown-menu.dropdown-menu-full-width |