2011-06-20 06:50:25 +02:00
|
|
|
<%
|
|
|
|
|
paginate_options = {
|
2014-08-14 21:05:05 -05:00
|
|
|
:class => :add_note_link,
|
2011-06-20 06:50:25 +02:00
|
|
|
:previous_label => '« '+ t('common.previous'),
|
|
|
|
|
:next_label => t('common.next')+' »',
|
|
|
|
|
:inner_window => 2
|
|
|
|
|
}
|
|
|
|
|
%>
|
|
|
|
|
<div id="display_box">
|
|
|
|
|
<div class="container" id="completed_recurring_todos_container">
|
2012-12-24 15:36:47 +01:00
|
|
|
<div class="paginate_header"><%= will_paginate @completed_recurring_todos, paginate_options %></div>
|
2011-06-20 06:50:25 +02:00
|
|
|
<h2>
|
|
|
|
|
<span id="completed-projects-count" class="badge"><%= "#{@total} (#{@range_low}-#{@range_high})" %></span>
|
|
|
|
|
<%= t('todos.completed_recurring') %>
|
|
|
|
|
</h2>
|
|
|
|
|
<div id="completed_recurring_todos_container">
|
|
|
|
|
<div id="completed-empty-nd" style="<%= @no_completed_recurring_todos ? 'display:block' : 'display:none'%>">
|
|
|
|
|
<div class="message"><p><%= t('todos.no_completed_recurring') %></p></div>
|
|
|
|
|
</div>
|
|
|
|
|
<%= render :partial => @completed_recurring_todos %>
|
|
|
|
|
</div>
|
2012-12-24 15:36:47 +01:00
|
|
|
<div class="paginate_footer"><%= will_paginate @completed_recurring_todos, paginate_options %></div>
|
2011-06-20 06:50:25 +02:00
|
|
|
</div>
|
2014-08-14 21:05:05 -05:00
|
|
|
</div>
|