Commit d572f492 authored by Rémy Coutable's avatar Rémy Coutable

Fix members page related conflicts

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 873ac957
<<<<<<< HEAD
= form_for @group_member, url: group_group_members_path(@group), html: { class: 'form-horizontal users-group-form' } do |f|
.form-group
= f.label :user_ids, "People", class: 'control-label'
.col-sm-10
= users_select_tag(:user_ids, multiple: true, class: 'input-large', scope: :all, email_user: true, skip_ldap: @group.ldap_synced?)
.help-block
=======
= form_for @group_member, url: group_group_members_path(@group), html: { class: 'users-project-form users-group-form' } do |f| = form_for @group_member, url: group_group_members_path(@group), html: { class: 'users-project-form users-group-form' } do |f|
.row .row
.col-md-4.col-lg-6 .col-md-4.col-lg-6
= users_select_tag(:user_ids, multiple: true, class: 'input-clamp', scope: :all, email_user: true) = users_select_tag(:user_ids, multiple: true, class: 'input-clamp', scope: :all, email_user: true, skip_ldap: @group.ldap_synced?)
.help-block.append-bottom-10 .help-block.append-bottom-10
>>>>>>> ce/master
Search for users by name, username, or email, or invite new ones using their email address. Search for users by name, username, or email, or invite new ones using their email address.
.col-md-3.col-lg-2 .col-md-3.col-lg-2
......
...@@ -13,10 +13,8 @@ ...@@ -13,10 +13,8 @@
= render 'shared/members/requests', membership_source: @group, requesters: @requesters = render 'shared/members/requests', membership_source: @group, requesters: @requesters
<<<<<<< HEAD
= render 'ldap_sync' = render 'ldap_sync'
=======
.append-bottom-default.clearfix .append-bottom-default.clearfix
%h5.member.existing-title %h5.member.existing-title
Existing users Existing users
...@@ -25,7 +23,6 @@ ...@@ -25,7 +23,6 @@
= search_field_tag :search, params[:search], { placeholder: 'Find existing members by name', class: 'form-control', spellcheck: false } = search_field_tag :search, params[:search], { placeholder: 'Find existing members by name', class: 'form-control', spellcheck: false }
%button.member-search-btn{ type: "submit", "aria-label" => "Submit search" } %button.member-search-btn{ type: "submit", "aria-label" => "Submit search" }
= icon("search") = icon("search")
>>>>>>> ce/master
.panel.panel-default .panel.panel-default
.panel-heading .panel-heading
Users with access to Users with access to
......
- page_title "Members" - page_title "Members"
<<<<<<< HEAD
- if membership_locked? - if membership_locked?
.alert.alert-warning .alert.alert-warning
Adding new users is disabled at group level Adding new users is disabled at group level
.project-members-page.js-project-members-page.prepend-top-default
- if can?(current_user, :admin_project_member, @project) && !membership_locked?
.panel.panel-default
.panel-heading
Add new user to project
.controls
= link_to import_namespace_project_project_members_path(@project.namespace, @project), class: "btn btn-grouped", title: "Import members from another project" do
Import members
.panel-body
%p.light
Users with access to this project are listed below.
= render "new_project_member"
=======
.project-members-page.prepend-top-default .project-members-page.prepend-top-default
%h4.project-members-title.clearfix %h4.project-members-title.clearfix
Members Members
= link_to "Import", import_namespace_project_project_members_path(@project.namespace, @project), class: "btn btn-default pull-right hidden-xs", title: "Import members from another project" = link_to "Import", import_namespace_project_project_members_path(@project.namespace, @project), class: "btn btn-default pull-right hidden-xs", title: "Import members from another project"
- if can?(current_user, :admin_project_member, @project) - if can?(current_user, :admin_project_member, @project) && !membership_locked?
.project-members-new.append-bottom-default .project-members-new.append-bottom-default
%p.clearfix %p.clearfix
Add new user to Add new user to
%strong= @project.name %strong= @project.name
= render "new_project_member" = render "new_project_member"
>>>>>>> ce/master
= render 'shared/members/requests', membership_source: @project, requesters: @requesters = render 'shared/members/requests', membership_source: @project, requesters: @requesters
......
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