2009-04-18 23:50:12 +02:00
|
|
|
<div class="container">
|
2010-02-12 12:35:19 +01:00
|
|
|
<h2 id="project_name">
|
2010-08-03 21:00:48 +02:00
|
|
|
<% if collapsible -%>
|
|
|
|
|
<a href="#" class="container_toggle" id="toggle_p<%= project.id %>"><%= image_tag("collapse.png") %></a>
|
|
|
|
|
<% end -%>
|
|
|
|
|
<%= project.name -%></h2>
|
2011-03-09 11:58:29 +01:00
|
|
|
<div id="<%= dom_id(project, "container")%>" class="list"><%-# list needs to be here for edit form to work -%>
|
2011-01-07 16:46:20 +01:00
|
|
|
<%= render :partial => "projects/project_settings", :object => project, :locals => { :collapsible => collapsible } %>
|
2009-04-18 23:50:12 +02:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="container">
|
2011-03-09 10:53:54 +01:00
|
|
|
<h2><%= t('projects.actions_in_project_title') %></h2>
|
2008-05-16 13:53:10 +00:00
|
|
|
<div id="p<%= project.id %>items" class="items toggle_target">
|
2007-03-30 04:36:52 +00:00
|
|
|
<div id="p<%= project.id %>empty-nd" style="display:<%= @not_done.empty? ? 'block' : 'none'%>;">
|
2011-03-09 10:53:54 +01:00
|
|
|
<div class="message"><p><%= t('projects.no_actions_in_project') %></p></div>
|
2007-03-30 04:36:52 +00:00
|
|
|
</div>
|
|
|
|
|
<%= render :partial => "todos/todo", :collection => @not_done, :locals => { :parent_container_type => "project" } %>
|
2009-04-18 23:50:12 +02:00
|
|
|
</div>
|
|
|
|
|
</div>
|