summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMartin Wortschack <mwortschack@gitlab.com>2019-08-08 09:47:13 +0200
committerMartin Wortschack <mwortschack@gitlab.com>2019-08-08 09:47:37 +0200
commit60a1e843faacb570b3480e12cf67424d79840ebb (patch)
treec9dc5c40a0bf555ae33f270adc09742afb1b76ea /app
parentb1f4c3fae73d5837c4c12eb64bfcc88a4dec23db (diff)
downloadgitlab-ce-60a1e843faacb570b3480e12cf67424d79840ebb.tar.gz
Resolve first round of discussions
- Avoid splitting sentences - Update PO file - Utilize $input-height - Replace pr- with mr-
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/pages/members.scss2
-rw-r--r--app/views/groups/group_members/index.html.haml17
2 files changed, 8 insertions, 11 deletions
diff --git a/app/assets/stylesheets/pages/members.scss b/app/assets/stylesheets/pages/members.scss
index a4b3b412e33..d72dd8671cc 100644
--- a/app/assets/stylesheets/pages/members.scss
+++ b/app/assets/stylesheets/pages/members.scss
@@ -94,7 +94,7 @@
position: absolute;
right: 4px;
top: 0;
- height: 33px;
+ height: $input-height;
padding-left: 10px;
padding-right: 10px;
color: $gray-darkest;
diff --git a/app/views/groups/group_members/index.html.haml b/app/views/groups/group_members/index.html.haml
index 48c92d7929c..e8be3b4fbab 100644
--- a/app/views/groups/group_members/index.html.haml
+++ b/app/views/groups/group_members/index.html.haml
@@ -10,8 +10,7 @@
- if can_manage_members
.project-members-new.append-bottom-default
%p.clearfix
- = _("Add new member to")
- %strong= @group.name
+ = _("Add new member to <strong>%{group_name}</strong>").html_safe % { group_name: @group.name }
= render "new_group_member"
= render 'shared/members/requests', membership_source: @group, requesters: @requesters
@@ -36,13 +35,12 @@
.card.card-without-border
.d-flex.flex-column.flex-md-row.row-content-block.second-block
%span.flex-grow-1.align-self-md-center.col-form-label
- = _("Members with access to")
- %strong= @group.name
+ = _("Members with access to <strong>%{group_name}</strong>").html_safe % { group_name: @group.name }
= form_tag group_group_members_path(@group), method: :get, class: 'form-inline member-search-form' do
.form-group.flex-grow
- .position-relative.pr-md-2
+ .position-relative.mr-md-2
= search_field_tag :search, params[:search], { placeholder: _('Search'), class: 'form-control', spellcheck: false }
- %button.member-search-btn{ type: "submit", "aria-label" => _("Submit search") }
+ %button.member-search-btn.border-left{ type: "submit", "aria-label" => _("Submit search") }
= icon("search")
- if can_manage_members
= label_tag '2fa', '2FA', class: 'col-form-label label-bold pr-md-2'
@@ -57,13 +55,12 @@
.card.card-without-border
.d-flex.flex-column.flex-md-row.row-content-block.second-block
%span.flex-grow-1
- = _("Members with pending access to")
- %strong= @group.name
+ = _("Members with pending access to <strong>%{group_name}</strong>").html_safe % { group_name: @group.name }
= form_tag group_group_members_path(@group), method: :get, class: 'form-inline member-search-form' do
.form-group
- .position-relative.pr-md-2
+ .position-relative.mr-md-2
= search_field_tag :search_invited, params[:search_invited], { placeholder: _('Search'), class: 'form-control', spellcheck: false }
- %button.member-search-btn{ type: "submit", "aria-label" => _("Submit search") }
+ %button.member-search-btn.border-left{ type: "submit", "aria-label" => _("Submit search") }
= icon("search")
%ul.content-list.members-list
= render partial: 'shared/members/member', collection: @invited_members, as: :member