Commit 2d7d2399 authored by charlie ablett's avatar charlie ablett

Replace owner with array of owners in project admin

Add `owners` method to project
parent 99be341f
...@@ -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