2017-03-10 19:02:35 -05:00
|
|
|
= render "groups/settings_head"
|
2015-09-14 13:46:58 -04:00
|
|
|
|
2016-01-14 06:48:02 -05:00
|
|
|
.panel.panel-default.prepend-top-default
|
2014-12-16 09:58:15 -05:00
|
|
|
.panel-heading
|
|
|
|
%strong= @group.name
|
|
|
|
projects:
|
2015-04-10 08:39:10 -04:00
|
|
|
- if can? current_user, :admin_group, @group
|
2016-01-22 16:37:05 -05:00
|
|
|
.controls
|
2015-03-07 13:35:17 -05:00
|
|
|
= link_to new_project_path(namespace_id: @group.id), class: "btn btn-sm btn-success" do
|
2017-04-05 16:46:58 -04:00
|
|
|
New project
|
2014-12-16 09:58:15 -05:00
|
|
|
%ul.well-list
|
|
|
|
- @projects.each do |project|
|
|
|
|
%li
|
|
|
|
.list-item-name
|
2015-08-10 13:42:23 -04:00
|
|
|
%span{ class: visibility_level_color(project.visibility_level) }
|
|
|
|
= visibility_level_icon(project.visibility_level)
|
2014-12-16 09:58:15 -05:00
|
|
|
%strong= link_to project.name_with_namespace, project
|
2015-08-10 13:42:17 -04:00
|
|
|
.pull-right
|
|
|
|
- if project.archived
|
|
|
|
%span.label.label-warning archived
|
2016-11-22 11:58:10 -05:00
|
|
|
%span.badge
|
|
|
|
= storage_counter(project.statistics.storage_size)
|
2015-03-13 11:22:03 -04:00
|
|
|
= link_to 'Members', namespace_project_project_members_path(project.namespace, project), id: "edit_#{dom_id(project)}", class: "btn btn-sm"
|
2015-03-14 03:29:32 -04:00
|
|
|
= link_to 'Edit', edit_namespace_project_path(project.namespace, project), id: "edit_#{dom_id(project)}", class: "btn btn-sm"
|
|
|
|
= link_to 'Remove', project, data: { confirm: remove_project_message(project)}, method: :delete, class: "btn btn-sm btn-remove"
|
2014-12-16 09:58:15 -05:00
|
|
|
- if @projects.blank?
|
|
|
|
.nothing-here-block This group has no projects yet
|
2014-05-29 14:30:20 -04:00
|
|
|
|
2014-12-16 09:58:15 -05:00
|
|
|
= paginate @projects, theme: "gitlab"
|