summaryrefslogtreecommitdiff
path: root/app/views/groups/_shared_projects.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/groups/_shared_projects.html.haml')
-rw-r--r--app/views/groups/_shared_projects.html.haml18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/views/groups/_shared_projects.html.haml b/app/views/groups/_shared_projects.html.haml
new file mode 100644
index 00000000000..d707ad4272d
--- /dev/null
+++ b/app/views/groups/_shared_projects.html.haml
@@ -0,0 +1,18 @@
+- if projects.present?
+ .panel.panel-default
+ .panel-heading
+ Projects shared with
+ %strong #{@group.name}
+ (#{projects.count})
+ %ul.well-list
+ - projects.each do |project|
+ %li.project-row
+ = link_to namespace_project_path(project.namespace, project), class: dom_class(project) do
+ %span.namespace-name
+ - if project.namespace
+ = project.namespace.human_name
+ \/
+ %span.project-name
+ = truncate(project.name, length: 25)
+ %span.arrow
+ %i.icon-angle-right