debian-mirror-gitlab/app/views/projects/project_members/index.html.haml

29 lines
1.3 KiB
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
- page_title "Members"
2015-09-25 12:07:36 +05:30
2016-11-03 12:29:30 +05:30
.project-members-page.prepend-top-default
%h4.project-members-title.clearfix
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"
2015-12-23 02:04:40 +05:30
- if can?(current_user, :admin_project_member, @project)
2016-11-03 12:29:30 +05:30
.project-members-new.append-bottom-default
%p.clearfix
Add new user to
%strong= @project.name
= render "new_project_member"
2015-09-25 12:07:36 +05:30
2016-11-03 12:29:30 +05:30
= render 'shared/members/requests', membership_source: @project, requesters: @requesters
2016-11-03 12:29:30 +05:30
.append-bottom-default.clearfix
%h5.member.existing-title
Existing users and groups
= form_tag namespace_project_project_members_path(@project.namespace, @project), method: :get, class: 'form-inline member-search-form' do
.form-group
= 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" }
= icon("search")
- if @group_links.any?
= render 'groups', group_links: @group_links
2016-06-02 11:05:42 +05:30
2016-11-03 12:29:30 +05:30
= render 'team', members: @project_members
= paginate @project_members, theme: "gitlab"