Commit ccea7b80 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '350603-cablett-project-show-owner' into 'master'

Replace `owner` with array of owners in project admin show page

See merge request gitlab-org/gitlab!78974
parents 5ed9be1c 2d7d2399
......@@ -39,15 +39,15 @@
= _('Namespace:')
%strong
- if @project.namespace
= link_to @project.namespace.human_name, [:admin, @project.group || @project.owner]
= link_to @project.namespace.human_name, [:admin, @project.personal? ? @project.namespace.owner : @project.group]
- else
= s_('ProjectSettings|Global')
%li
%span.light
= _('Owned by:')
%strong
- if @project.owner
= link_to @project.owner_name, [:admin, @project.owner]
- if @project.owners.any?
= safe_join(@project.owners.map { |owner| link_to(owner.name, [:admin, owner]) }, ", ".html_safe)
- else
= _('(deleted)')
......
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