Skip to content
代码片段 群组 项目
提交 135f103e 编辑于 作者: Yogi's avatar Yogi 提交者: Kushal Pandya
浏览文件

Move from btn-success to btn-confirm in shared/labels directory

上级 37d862c3
No related branches found
No related tags found
无相关合并请求
......@@ -28,7 +28,7 @@
= render_suggested_colors
.form-actions
- if @label.persisted?
= f.submit 'Save changes', class: 'btn gl-button btn-success js-save-button'
= f.submit 'Save changes', class: 'btn gl-button btn-confirm js-save-button'
- else
= f.submit 'Create label', class: 'btn gl-button btn-success js-save-button qa-label-create-button'
= link_to 'Cancel', back_path, class: 'btn gl-button btn-cancel'
= f.submit 'Create label', class: 'btn gl-button btn-confirm js-save-button qa-label-create-button'
= link_to 'Cancel', back_path, class: 'btn gl-button btn-default btn-cancel'
......@@ -19,6 +19,6 @@
= sprite_icon('search')
= render 'shared/labels/sort_dropdown'
- if labels_or_filters && can_admin_label && @project
= link_to _('New label'), new_project_label_path(@project), class: "btn gl-button btn-success qa-label-create-new"
= link_to _('New label'), new_project_label_path(@project), class: "btn gl-button btn-confirm qa-label-create-new"
- if labels_or_filters && can_admin_label && @group
= link_to _('New label'), new_group_label_path(@group), class: "btn gl-button btn-success qa-label-create-new"
= link_to _('New label'), new_group_label_path(@group), class: "btn gl-button btn-confirm qa-label-create-new"
---
title: Move from btn-success to btn-confirm in shared/labels directory
merge_request: 55304
author: Yogi (@yo)
type: changed
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册