2011-10-30 22:59:03 +00:00
|
|
|
.block.notice
|
|
|
|
%h3= t("layout.projects.members")
|
|
|
|
.content
|
|
|
|
%p
|
|
|
|
%b
|
|
|
|
= "#{t("layout.projects.collaborators")}:"
|
|
|
|
%ul
|
|
|
|
- @project.collaborators.each do |user|
|
|
|
|
%li
|
2011-11-18 18:26:22 +00:00
|
|
|
- if can? :read, user
|
2011-10-30 22:59:03 +00:00
|
|
|
= link_to user.name, user_path(user)
|
|
|
|
- else
|
|
|
|
= user.name
|
|
|
|
- if (@project.owner == user)
|
|
|
|
= '(' + t("layout.owner") + ')'
|
2011-12-05 12:32:18 +00:00
|
|
|
/%br
|
2011-11-19 11:41:11 +00:00
|
|
|
-# if can? :update, @project
|
2011-12-05 12:32:18 +00:00
|
|
|
%p
|
|
|
|
%b
|
|
|
|
= "#{t("layout.projects.groups")}:"
|
|
|
|
%ul
|
|
|
|
- @project.groups.each do |group|
|
|
|
|
%li
|
|
|
|
= link_to group.name, group_path(group)
|
|
|
|
- if (@project.owner == group)
|
|
|
|
= '(' + t("layout.owner") + ')'
|
|
|
|
%br
|
2011-11-24 21:46:19 +00:00
|
|
|
= link_to t("layout.projects.edit_collaborators"), edit_project_collaborators_path(@project) if can? :manage_collaborators, @project
|
2011-10-30 22:59:03 +00:00
|
|
|
|
2011-11-01 00:52:24 +00:00
|
|
|
/ %p
|
|
|
|
/ %b
|
|
|
|
/ = "#{t("layout.projects.groups")}:"
|
|
|
|
/ %ul
|
|
|
|
/ - @project.groups.each do |group|
|
|
|
|
/ %li
|
|
|
|
/ = link_to group.name, group_path(group)
|
|
|
|
/ - if (@project.owner == group)
|
|
|
|
/ = '(' + t("layout.owner") + ')'
|
|
|
|
/ %br
|
|
|
|
/ = link_to t("layout.projects.add_groups"), '#' #add_collaborators_project_path(@project)
|
2011-10-30 22:59:03 +00:00
|
|
|
|
2011-10-26 21:57:51 +01:00
|
|
|
/ .block.notice
|
|
|
|
/ %h3= t("layout.platforms.current_platform_header")
|
|
|
|
/ .content
|
|
|
|
/ %p= link_to @platform.name, platform_path(@platform)
|
|
|
|
/
|
|
|
|
/ .block.notice
|
|
|
|
/ %h3= t("layout.repositories.current_repository_header")
|
|
|
|
/ .content
|
|
|
|
/ %p= link_to @repository.name + repository_name_postfix(@platform), platform_repository_path(@platform, @repository)
|