mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-26 03:58:49 +01:00
the span with class m_t and m_t_d and its styling are no longer needed mobile todo lists need to be wrapped in ul element. fixing up missing or unclosed
37 lines
1.3 KiB
Text
37 lines
1.3 KiB
Text
<% project = @project %>
|
|
<%= project_next_prev_mobile %>
|
|
<h2><%=project.name%></h2>
|
|
<% unless @project.description.blank? -%>
|
|
<div class="project_description"><%= sanitize(@project.description) %></div>
|
|
<% end -%>
|
|
<ul class="c">
|
|
<%= render :partial => "todos/mobile_todo",
|
|
:collection => @not_done,
|
|
:locals => { :parent_container_type => "project" }%>
|
|
</ul>
|
|
<h2><%= t('projects.deferred_actions')%></h2>
|
|
<% if @deferred.empty? -%>
|
|
<%= t('projects.deferred_actions_empty') %>
|
|
<% else -%>
|
|
<ul class="c">
|
|
<%= render :partial => "todos/mobile_todo",
|
|
:collection => @deferred,
|
|
:locals => { :parent_container_type => "project" }%>
|
|
</ul><% end
|
|
-%>
|
|
<h2><%= t('projects.completed_actions')%></h2>
|
|
<% if @done.empty? -%>
|
|
<%= t('projects.completed_actions_empty') %>
|
|
<% else -%>
|
|
<ul class="c">
|
|
<%= render :partial => "todos/mobile_todo",
|
|
:collection => @done,
|
|
:locals => { :parent_container_type => "project" }%>
|
|
</ul><% end %>
|
|
<h2><%= t('projects.notes') %></h2>
|
|
<% if @project.notes.empty? -%>
|
|
<%= t('projects.notes_empty') %>
|
|
<% else -%><%= render :partial => "notes/mobile_notes_summary", :collection => @project.notes %>
|
|
<% end -%>
|
|
<h2><%= t('projects.settings') %></h2>
|
|
<%= t('projects.state', :state => project.aasm_current_state.to_s) %>. <%= @project_default_context %>
|