Sha256: c8b78cb06a3da1cb42b588d982d200ea3026b79f876a5b499babe8e563ce1ba6
Contents?: true
Size: 1.07 KB
Versions: 8
Compression:
Stored size: 1.07 KB
Contents
<% content_for :breadcrumbs do %> <% product_key = nil %> <% Voluntary::Navigation::Base.products.each{|s,k| product_key = k if s == params[:product_id] } %> <%= raw( ( [ link_to(t('workflow.index.title'), workflow_path), link_to(t('workflow.user.index.title'), workflow_user_index_path), link_to(t(product_key), product_workflow_user_index_path(params[:product_id])) ] + (@area.ancestors + [@area]).map do |a| link_to(a.name, product_area_workflow_user_index_path(params[:product_id], a)) end ).join(' > ') ) %> <% end %> <h3><%= @area.name %></h3> <%= render 'shared/collection/table', type: 'areas', collection: @areas, columns: { 'name' => ->(resource) do link_to resource.name, product_area_workflow_user_index_path(params[:product_id], resource) end, 'users_count' => nil } %> <%= render 'shared/collection/table', type: 'projects', collection: @projects, columns: { 'name' => ->(resource) do link_to resource.name, user_project_workflow_user_index_path(resource) end } %>
Version data entries
8 entries across 8 versions & 1 rubygems