Give 'New Snippet' button green outline

This commit is contained in:
Marcel van Remmerden 2019-05-22 14:28:39 +00:00 committed by Annabel Dunstone Gray
parent bc4a18ecb9
commit 6f9e94dfc1
2 changed files with 6 additions and 1 deletions

View File

@ -7,7 +7,7 @@
- if can?(current_user, :admin_personal_snippet, @snippet)
= link_to snippet_path(@snippet), method: :delete, data: { confirm: _("Are you sure?") }, class: "btn btn-grouped btn-inverted btn-remove", title: _('Delete Snippet') do
= _("Delete")
= link_to new_snippet_path, class: "btn btn-grouped btn-inverted btn-create", title: _("New snippet") do
= link_to new_snippet_path, class: "btn btn-grouped btn-success btn-inverted", title: _("New snippet") do
= _("New snippet")
- if @snippet.submittable_as_spam_by?(current_user)
= link_to _('Submit as spam'), mark_as_spam_snippet_path(@snippet), method: :post, class: 'btn btn-grouped btn-spam', title: _('Submit as spam')

View File

@ -0,0 +1,5 @@
---
title: Give New Snippet button green outline
merge_request: 28559
author: Marcel van Remmerden
type: other