diff --git a/app/views/common/_calendar.html.erb b/app/views/common/_calendar.html.erb index 8229a3a..704f865 100644 --- a/app/views/common/_calendar.html.erb +++ b/app/views/common/_calendar.html.erb @@ -1,6 +1,7 @@ <% - # Check if toggle is active via query params + # Check if toggles are active via query params only_appointments = params[:only_appointments] == '1' + hide_past_weeks = params[:hide_past_weeks] == '1' # Get Redmine's configured non-working week days (e.g., ["6", "7"] for Sat/Sun) non_working_days = Setting.non_working_week_days || [] @@ -64,7 +65,16 @@ <% end %> -
+
+ +