Commit 61fb6cd7 authored by Jiaan Louw's avatar Jiaan Louw Committed by Martin Wortschack

Apply reviewer suggested changes

This updates the buttons to .gl-button
as suggested by Taurie Davis.
parent 874e714c
...@@ -37,8 +37,8 @@ ...@@ -37,8 +37,8 @@
= message.target_path = message.target_path
%td %td
= message.broadcast_type.capitalize = message.broadcast_type.capitalize
%td.gl-white-space-nowrap %td.gl-white-space-nowrap.gl-display-flex
= link_to sprite_icon('pencil-square'), edit_admin_broadcast_message_path(message), title: 'Edit', class: 'btn' = link_to sprite_icon('pencil-square', css_class: 'gl-icon'), edit_admin_broadcast_message_path(message), title: 'Edit', class: 'btn btn-icon gl-button'
= link_to sprite_icon('remove'), admin_broadcast_message_path(message), method: :delete, remote: true, title: 'Remove', class: 'js-remove-tr btn btn-danger' = link_to sprite_icon('remove', css_class: 'gl-icon'), admin_broadcast_message_path(message), method: :delete, remote: true, title: 'Remove', class: 'js-remove-tr btn btn-icon gl-button btn-danger ml-2'
= paginate @broadcast_messages, theme: 'gitlab' = paginate @broadcast_messages, theme: 'gitlab'
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
%h3.page-title %h3.page-title
= _('Group: %{group_name}') % { group_name: @group.full_name } = _('Group: %{group_name}') % { group_name: @group.full_name }
= link_to admin_group_edit_path(@group), class: "btn float-right", data: { qa_selector: 'edit_group_link' } do = link_to admin_group_edit_path(@group), class: "btn btn-default gl-button float-right", data: { qa_selector: 'edit_group_link' } do
%i.fa.fa-pencil-square-o = sprite_icon('pencil-square', css_class: 'gl-icon')
= _('Edit') = _('Edit')
%hr %hr
.row .row
...@@ -123,7 +123,9 @@ ...@@ -123,7 +123,9 @@
= _("<strong>%{group_name}</strong> group members").html_safe % { group_name: @group.name } = _("<strong>%{group_name}</strong> group members").html_safe % { group_name: @group.name }
%span.badge.badge-pill= @group.members.size %span.badge.badge-pill= @group.members.size
.float-right .float-right
= link_to icon('pencil-square-o', text: _('Manage access')), group_group_members_path(@group), class: "btn btn-sm" = link_to group_group_members_path(@group), class: 'btn btn-default gl-button btn-sm' do
= sprite_icon('pencil-square', css_class: 'gl-icon')
= _('Manage access')
%ul.content-list.group-users-list.content-list.members-list %ul.content-list.group-users-list.content-list.members-list
= render partial: 'shared/members/member', collection: @members, as: :member, locals: { show_controls: false } = render partial: 'shared/members/member', collection: @members, as: :member, locals: { show_controls: false }
.card-footer .card-footer
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
.js-remove-member-modal .js-remove-member-modal
%h3.page-title %h3.page-title
= _('Project: %{name}') % { name: @project.full_name } = _('Project: %{name}') % { name: @project.full_name }
= link_to edit_project_path(@project), class: "btn btn-nr float-right" do = link_to edit_project_path(@project), class: "btn btn-default gl-button float-right" do
%i.fa.fa-pencil-square-o = sprite_icon('pencil-square', css_class: 'gl-icon')
= _('Edit') = _('Edit')
%hr %hr
- if @project.last_repository_check_failed? - if @project.last_repository_check_failed?
...@@ -178,8 +178,9 @@ ...@@ -178,8 +178,9 @@
= _('group members') = _('group members')
%span.badge.badge-pill= @group_members.size %span.badge.badge-pill= @group_members.size
.float-right .float-right
= link_to admin_group_path(@group), class: 'btn btn-sm' do = link_to admin_group_path(@group), class: 'btn btn-default gl-button btn-sm' do
= icon('pencil-square-o', text: _('Manage access')) = sprite_icon('pencil-square', css_class: 'gl-icon')
= _('Manage access')
%ul.content-list.members-list %ul.content-list.members-list
= render partial: 'shared/members/member', collection: @group_members, as: :member, locals: { show_controls: false } = render partial: 'shared/members/member', collection: @group_members, as: :member, locals: { show_controls: false }
.card-footer .card-footer
...@@ -193,7 +194,9 @@ ...@@ -193,7 +194,9 @@
= _('project members') = _('project members')
%span.badge.badge-pill= @project.users.size %span.badge.badge-pill= @project.users.size
.float-right .float-right
= link_to icon('pencil-square-o', text: _('Manage access')), project_project_members_path(@project), class: "btn btn-sm" = link_to project_project_members_path(@project), class: 'btn btn-default gl-button btn-sm' do
= sprite_icon('pencil-square', css_class: 'gl-icon')
= _('Manage access')
%ul.content-list.project_members.members-list %ul.content-list.project_members.members-list
= render partial: 'shared/members/member', collection: @project_members, as: :member, locals: { show_controls: false } = render partial: 'shared/members/member', collection: @project_members, as: :member, locals: { show_controls: false }
.card-footer .card-footer
......
...@@ -12,10 +12,10 @@ ...@@ -12,10 +12,10 @@
.float-right .float-right
- if impersonation_enabled? && @user != current_user && @user.can?(:log_in) - if impersonation_enabled? && @user != current_user && @user.can?(:log_in)
= link_to 'Impersonate', impersonate_admin_user_path(@user), method: :post, class: "btn btn-nr btn-grouped btn-info", data: { qa_selector: 'impersonate_user_link' } = link_to 'Impersonate', impersonate_admin_user_path(@user), method: :post, class: "btn btn-info gl-button btn-grouped", data: { qa_selector: 'impersonate_user_link' }
= link_to edit_admin_user_path(@user), class: "btn btn-nr btn-grouped" do = link_to edit_admin_user_path(@user), class: "btn btn-default gl-button btn-grouped" do
%i.fa.fa-pencil-square-o = sprite_icon('pencil-square', css_class: 'gl-icon')
Edit = _('Edit')
%hr %hr
%ul.nav-links.nav.nav-tabs %ul.nav-links.nav.nav-tabs
= nav_link(path: 'users#show') do = nav_link(path: 'users#show') do
......
---
title: Replace fa-pencil-square-o icons with GitLab SVG icons
merge_request: 36059
author:
type: other
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