Commit c38d4346 authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch 'btn-confirm-project-deploy-forks' into 'master'

Move from btn-success to btn-confirm in projects/forks directory

See merge request gitlab-org/gitlab!56333
parents 785fc525 4004ab30
...@@ -17,4 +17,4 @@ ...@@ -17,4 +17,4 @@
= link_to _("Select"), project_forks_path(@project, namespace_key: namespace.id), = link_to _("Select"), project_forks_path(@project, namespace_key: namespace.id),
data: { qa_selector: 'fork_namespace_button', qa_name: namespace.human_name }, data: { qa_selector: 'fork_namespace_button', qa_name: namespace.human_name },
method: "POST", method: "POST",
class: ["btn gl-button btn-success", ("disabled" unless can_create_project)] class: ["btn gl-button btn-confirm", ("disabled" unless can_create_project)]
...@@ -30,11 +30,11 @@ ...@@ -30,11 +30,11 @@
- if current_user && can?(current_user, :fork_project, @project) - if current_user && can?(current_user, :fork_project, @project)
- if current_user.already_forked?(@project) && current_user.manageable_namespaces.size < 2 - if current_user.already_forked?(@project) && current_user.manageable_namespaces.size < 2
= link_to namespace_project_path(current_user, current_user.fork_of(@project)), title: _('Go to your fork'), class: 'btn gl-button btn-success' do = link_to namespace_project_path(current_user, current_user.fork_of(@project)), title: _('Go to your fork'), class: 'btn gl-button btn-confirm' do
= sprite_icon('fork', size: 12) = sprite_icon('fork', size: 12)
%span= _('Fork') %span= _('Fork')
- else - else
= link_to new_project_fork_path(@project), title: _("Fork project"), class: 'btn gl-button btn-success' do = link_to new_project_fork_path(@project), title: _("Fork project"), class: 'btn gl-button btn-confirm' do
= sprite_icon('fork', size: 12) = sprite_icon('fork', size: 12)
%span= _('Fork') %span= _('Fork')
......
---
title: Move from btn-success to btn-confirm in forks directory
merge_request: 56333
author: Yogi (@yo)
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment