diff --git a/app/views/todos/_todo.html.erb b/app/views/todos/_todo.html.erb index 0f95e258..6f7edbc6 100644 --- a/app/views/todos/_todo.html.erb +++ b/app/views/todos/_todo.html.erb @@ -17,6 +17,8 @@ parameters += "&_tag_name=#{@tag_name}" if @source_view == 'tag'
  • <%= remote_delete_menu_item(todo) %>
  • <% unless todo.completed? || todo.deferred? -%>
  • <%= remote_defer_menu_item(1, todo) %>
  • +
  • <%= remote_defer_menu_item(2, todo) %>
  • +
  • <%= remote_defer_menu_item(3, todo) %>
  • <%= remote_defer_menu_item(7, todo) %>
  • <%= remote_promote_to_project_menu_item(todo) %>
  • <% end -%> diff --git a/config/locales/en.yml b/config/locales/en.yml index e2dd9b6e..d9460627 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -426,7 +426,7 @@ en: completed_last_x_days: Completed in the last %{count} days no_actions_with: Currently there are no incomplete actions with the tag '%{tag_name}' defer_x_days: - one: Defer one day + one: Defer 1 day other: Defer %{count} days added_new_next_action_singular: Added new next action no_completed_actions: Currently there are no completed actions. diff --git a/public/images/defer_2.png b/public/images/defer_2.png new file mode 100644 index 00000000..c27b735b Binary files /dev/null and b/public/images/defer_2.png differ diff --git a/public/images/defer_2_off.png b/public/images/defer_2_off.png new file mode 100644 index 00000000..d9ab3384 Binary files /dev/null and b/public/images/defer_2_off.png differ diff --git a/public/images/defer_3.png b/public/images/defer_3.png new file mode 100644 index 00000000..7c8c68ee Binary files /dev/null and b/public/images/defer_3.png differ diff --git a/public/images/defer_3_off.png b/public/images/defer_3_off.png new file mode 100644 index 00000000..3fee2133 Binary files /dev/null and b/public/images/defer_3_off.png differ diff --git a/public/javascripts/application.js b/public/javascripts/application.js index 232ae12c..5c2302f8 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -1318,7 +1318,7 @@ function enable_rich_interaction(){ $(document).ready(function() { // fix for IE8. Without this checkboxes don't work AJAXy. See #1152 - if($.browser.msie && ($.browser.version.substring(0, 2) == "8.")) { + if($.browser.msie && ( ($.browser.version.substring(0, 2) == "8.") || ($.browser.version.substring(0, 2) == "7.") ) ) { $('body').bind('change', function() { return true; });