<%=l(:label_project)%> | <%=l(:field_identifier)%> | <%=l(:field_is_public)%> | <% ########################################################## # Smile specific #156114 Projects admin, show issues count # Smile specific #416615 Projects admin, show parent project if projects filtered if display_counts then -%><%=l(:label_issue_plural) %> (<%= l(:label_open_issues_plural) %>) <%= l(:label_member_plural) %> / <%= l(:label_subproject_plural) %> |
<%=l(:field_parent) %> | <% end # END -- Smile specific #156114 Projects admin, show issues count ################################################################# -%><%=l(:field_created_on)%> | |
---|---|---|---|---|---|---|
<%= link_to_project_settings(project, {}, :title => project.short_description) %> | <%= project.identifier %> | <%= checked_image project.is_public? %> | <% ########################################################## # Smile specific #156114 Projects admin, show issues count if display_counts then p_children_count = project.descendants.count label_children_count = p_children_count.to_s if p_children_count > 0 label_children_count = "#{label_children_count}".html_safe end -%><%= Issue.where(:project_id => project.id).count %> (<%= Issue.open.where(:project_id => project.id).count %>) <%= project.members.count %> / <%= label_children_count %> |
<% # Smile specific #416615 Projects admin, show parent project if projects filtered if project.parent -%> <%= link_to_project_settings(project.parent, {}, :title => project.parent.short_description) %> <% end -%> | <% end # END -- Smile specific : #156114 Projects admin, show issues count ################################################################### -%><%= format_date(project.created_on) %> | <% # Smile specific #416800 Admin projets : archiver / désarchiver ne reste pas sur les filtres courants # Smile specific : params added name, parent -%> <%= link_to(l(:button_archive), { :controller => 'projects', :action => 'archive', :id => project, :status => params[:status], :name => params[:name], :parent => params[:parent] }, :data => {:confirm => l(:text_are_you_sure)}, :method => :post, :class => 'icon icon-lock') unless project.archived? %> <% # Smile specific #416800 Admin projets : archiver / désarchiver ne reste pas sur les filtres courants # Smile specific : params added name, parent -%> <%= link_to(l(:button_unarchive), { :controller => 'projects', :action => 'unarchive', :id => project, :status => params[:status], :name => params[:name], :parent => params[:parent] }, :method => :post, :class => 'icon icon-unlock') if project.archived? && (project.parent.nil? || !project.parent.archived?) %> <%= link_to(l(:button_copy), { :controller => 'projects', :action => 'copy', :id => project }, :class => 'icon icon-copy') %> <%= link_to(l(:button_delete), project_path(project), :method => :delete, :class => 'icon icon-del') %> |