fix #1712. Number of occurrences was not handled correctly

This commit is contained in:
Reinier Balt 2014-08-06 14:40:30 +02:00
parent 01c4b83101
commit ee3ba62152
3 changed files with 38 additions and 15 deletions

View file

@ -32,6 +32,10 @@ module RecurringTodos
get :show_from_delta
end
def number_of_occurences
get :number_of_occurences
end
def recurring_target_as_text
target == 'due_date' ? I18n.t("todos.recurrence.pattern.due") : I18n.t("todos.recurrence.pattern.show")
end