mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-16 17:26:33 +01:00
another set of fixes for the cucumber scenario's
This commit is contained in:
parent
da2bee2e53
commit
b18b222834
7 changed files with 56 additions and 40 deletions
|
|
@ -12,7 +12,7 @@
|
|||
</div>
|
||||
|
||||
<div class="project-state-group" id="list-completed-projects-container" <%= " style=\"display:none\"" if @no_projects %>>
|
||||
<%= will_paginate @projects, paginate_options %>
|
||||
<div class="paginate_header"><%= will_paginate @projects, paginate_options %></div>
|
||||
<h2>
|
||||
<span id="completed-projects-count" class="badge"><%= "#{@total} (#{@range_low}-#{@range_high})" %></span>
|
||||
<%= t('states.completed_plural' )%> <%= t('common.projects') %>
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
<%= render :partial => 'project_listing', :collection => @projects %>
|
||||
</div>
|
||||
</div>
|
||||
<%= will_paginate @projects, paginate_options %>
|
||||
<div class="paginate_footer"><%= will_paginate @projects, paginate_options %></div>
|
||||
</div>
|
||||
|
||||
<div id="input_box">
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
%>
|
||||
<div id="display_box">
|
||||
<div class="container" id="completed_recurring_todos_container">
|
||||
<%= will_paginate @completed_recurring_todos, paginate_options %>
|
||||
<div class="paginate_header"><%= will_paginate @completed_recurring_todos, paginate_options %></div>
|
||||
<h2>
|
||||
<span id="completed-projects-count" class="badge"><%= "#{@total} (#{@range_low}-#{@range_high})" %></span>
|
||||
<%= t('todos.completed_recurring') %>
|
||||
|
|
@ -19,6 +19,6 @@
|
|||
</div>
|
||||
<%= render :partial => @completed_recurring_todos %>
|
||||
</div>
|
||||
<%= will_paginate @completed_recurring_todos, paginate_options %>
|
||||
<div class="paginate_footer"><%= will_paginate @completed_recurring_todos, paginate_options %></div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
%>
|
||||
<div id="display_box_projects">
|
||||
<div class="container">
|
||||
<%= will_paginate @done, paginate_options %>
|
||||
<div class="paginate_header"><%= will_paginate @done, paginate_options %></div>
|
||||
<h2><%= t('todos.all_completed') %></h2>
|
||||
<% if @done.empty? -%>
|
||||
<div class="message"><p><%= t('todos.no_completed_actions') %></p></div>
|
||||
|
|
@ -17,6 +17,6 @@
|
|||
<% end -%>
|
||||
</div>
|
||||
|
||||
<%= will_paginate @done, paginate_options %>
|
||||
<div class="paginate_footer"><%= will_paginate @done, paginate_options %></div>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue