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 @@ ...@@ -39,15 +39,15 @@
= _('Namespace:') = _('Namespace:')
%strong %strong
- if @project.namespace - 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 - else
= s_('ProjectSettings|Global') = s_('ProjectSettings|Global')
%li %li
%span.light %span.light
= _('Owned by:') = _('Owned by:')
%strong %strong
- if @project.owner - if @project.owners.any?
= link_to @project.owner_name, [:admin, @project.owner] = safe_join(@project.owners.map { |owner| link_to(owner.name, [:admin, owner]) }, ", ".html_safe)
- else - else
= _('(deleted)') = _('(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