% if subject.in_repository? %> <%= render partial: "global_activities/references/team.html.erb", locals: { team: team, subject: team, breadcrumbs: breadcrumbs, values: values, type_of: type_of } %> <% else %> <%= render partial: "global_activities/references/my_module.html.erb", locals: { team: team, subject: subject&.my_module, breadcrumbs: breadcrumbs, values: values, type_of: type_of } %> <% end %> <% if subject %> <% if subject.in_repository? %> <% type = :public if subject.in_repository_public? %> <% type = :private if subject.in_repository_private? %> <% type = :archive if subject.in_repository_archived? %>
<% end %> <% else %> <% end %>