Commit 27c0a3e9 authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Merge branch 'btn-default-lock-unlock' into 'master'

Add btn-default class for unlock button in locked files page

See merge request gitlab-org/gitlab!52858
parents fd1c8b16 96b8d5a3
---
title: Add btn-default class for unlock button in locked files page
merge_request: 52858
author: Yogi (@yo)
type: other
......@@ -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) }
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