From 1ebb95bc2863de75e33cd1989b61da3d1c9acd7d Mon Sep 17 00:00:00 2001 From: Yogi <6395788-yo@users.noreply.gitlab.com> Date: Fri, 29 Jan 2021 05:18:16 +0000 Subject: [PATCH] Add btn-default class for unlock button in locked files page --- ee/app/views/projects/path_locks/_path_lock.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/app/views/projects/path_locks/_path_lock.html.haml b/ee/app/views/projects/path_locks/_path_lock.html.haml index 4ef1b0bbcdbbd..9126da4db0e08 100644 --- a/ee/app/views/projects/path_locks/_path_lock.html.haml +++ b/ee/app/views/projects/path_locks/_path_lock.html.haml @@ -6,7 +6,7 @@ .controls - if can_unlock?(path_lock) - = link_to project_path_lock_path(@project, path_lock), class: 'btn gl-button', title: _("Unlock"), method: :delete, data: { confirm: _("Are you sure you want to unlock %{path_lock_path}?") % { path_lock_path: path_lock.path }, container: 'body', qa_selector: 'unlock_button' }, remote: true do + = link_to project_path_lock_path(@project, path_lock), class: 'btn gl-button btn-default', title: _("Unlock"), method: :delete, data: { confirm: _("Are you sure you want to unlock %{path_lock_path}?") % { path_lock_path: path_lock.path }, container: 'body', qa_selector: 'unlock_button' }, remote: true do = _('Unlock') = _("locked by %{path_lock_user_name} %{created_at}").html_safe % { path_lock_user_name: path_lock.user.name, created_at: time_ago_with_tooltip(path_lock.created_at) } -- GitLab