Commit 60a1e843 authored by Martin Wortschack's avatar Martin Wortschack

Resolve first round of discussions

- Avoid splitting sentences
- Update PO file
- Utilize $input-height
- Replace pr- with mr-
parent b1f4c3fa
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
position: absolute; position: absolute;
right: 4px; right: 4px;
top: 0; top: 0;
height: 33px; height: $input-height;
padding-left: 10px; padding-left: 10px;
padding-right: 10px; padding-right: 10px;
color: $gray-darkest; color: $gray-darkest;
......
...@@ -10,8 +10,7 @@ ...@@ -10,8 +10,7 @@
- if can_manage_members - if can_manage_members
.project-members-new.append-bottom-default .project-members-new.append-bottom-default
%p.clearfix %p.clearfix
= _("Add new member to") = _("Add new member to <strong>%{group_name}</strong>").html_safe % { group_name: @group.name }
%strong= @group.name
= render "new_group_member" = render "new_group_member"
= render 'shared/members/requests', membership_source: @group, requesters: @requesters = render 'shared/members/requests', membership_source: @group, requesters: @requesters
...@@ -36,13 +35,12 @@ ...@@ -36,13 +35,12 @@
.card.card-without-border .card.card-without-border
.d-flex.flex-column.flex-md-row.row-content-block.second-block .d-flex.flex-column.flex-md-row.row-content-block.second-block
%span.flex-grow-1.align-self-md-center.col-form-label %span.flex-grow-1.align-self-md-center.col-form-label
= _("Members with access to") = _("Members with access to <strong>%{group_name}</strong>").html_safe % { group_name: @group.name }
%strong= @group.name
= form_tag group_group_members_path(@group), method: :get, class: 'form-inline member-search-form' do = form_tag group_group_members_path(@group), method: :get, class: 'form-inline member-search-form' do
.form-group.flex-grow .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 } = 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") = icon("search")
- if can_manage_members - if can_manage_members
= label_tag '2fa', '2FA', class: 'col-form-label label-bold pr-md-2' = label_tag '2fa', '2FA', class: 'col-form-label label-bold pr-md-2'
...@@ -57,13 +55,12 @@ ...@@ -57,13 +55,12 @@
.card.card-without-border .card.card-without-border
.d-flex.flex-column.flex-md-row.row-content-block.second-block .d-flex.flex-column.flex-md-row.row-content-block.second-block
%span.flex-grow-1 %span.flex-grow-1
= _("Members with pending access to") = _("Members with pending access to <strong>%{group_name}</strong>").html_safe % { group_name: @group.name }
%strong= @group.name
= form_tag group_group_members_path(@group), method: :get, class: 'form-inline member-search-form' do = form_tag group_group_members_path(@group), method: :get, class: 'form-inline member-search-form' do
.form-group .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 } = 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") = icon("search")
%ul.content-list.members-list %ul.content-list.members-list
= render partial: 'shared/members/member', collection: @invited_members, as: :member = render partial: 'shared/members/member', collection: @invited_members, as: :member
......
...@@ -708,7 +708,7 @@ msgstr "" ...@@ -708,7 +708,7 @@ msgstr ""
msgid "Add new directory" msgid "Add new directory"
msgstr "" msgstr ""
msgid "Add new member to" msgid "Add new member to <strong>%{group_name}</strong>"
msgstr "" msgstr ""
msgid "Add or subtract spent time" msgid "Add or subtract spent time"
...@@ -6586,10 +6586,10 @@ msgstr "" ...@@ -6586,10 +6586,10 @@ msgstr ""
msgid "Members of <strong>%{project_name}</strong>" msgid "Members of <strong>%{project_name}</strong>"
msgstr "" msgstr ""
msgid "Members with access to" msgid "Members with access to <strong>%{group_name}</strong>"
msgstr "" msgstr ""
msgid "Members with pending access to" msgid "Members with pending access to <strong>%{group_name}</strong>"
msgstr "" msgstr ""
msgid "Merge" msgid "Merge"
......
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