diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml index ee2e63353f0c92c5d9e3632d3d16ac7c727bf522..e8bcf479d70dd5bd90d2dfe0447c4f06d5d873f7 100644 --- a/app/views/admin/projects/show.html.haml +++ b/app/views/admin/projects/show.html.haml @@ -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)')