app/views/timesheets/_pager.html.haml in bookyt_projects-0.19.17 vs app/views/timesheets/_pager.html.haml in bookyt_projects-0.19.18
- old
+ new
@@ -1,4 +1,6 @@
-%h3 t_title('title.period')
+- filter_name = :time_sheet_period
+- params[filter_name] ||= {"from" => Date.today.beginning_of_month.to_s(:db), "to" => Date.today.end_of_month.to_s(:db)}
-%ul.pager
- = month_pages(:time_sheet_period)
+- content_for :sidebar do
+ - filters = month_periods
+ = boot_nav_filter(filter_name, filters)