From 3361dfe9dd68988b0c5ef3691ab40d743c29f7a6 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Thu, 29 Oct 2026 22:53:19 -0400 Subject: [PATCH] Remove redundant customer appointment history links from calendar and customer actions views --- app/views/common/_calendar.html.erb | 9 --------- .../customer_appointments/_customer_actions.html.erb | 5 ----- app/views/customer_appointments/_list_simple.html.erb | 5 ----- 3 files changed, 19 deletions(-) diff --git a/app/views/common/_calendar.html.erb b/app/views/common/_calendar.html.erb index 0258f8e..55b6b4b 100644 --- a/app/views/common/_calendar.html.erb +++ b/app/views/common/_calendar.html.erb @@ -125,15 +125,6 @@
- <% if User.current.allowed_to?(:view_customer_appointments, nil, global: true) %> - <%= link_to history_customer_appointments_path, - class: 'button-small', - style: 'display: inline-flex; align-items: center; gap: 5px; text-decoration: none; font-weight: 600; font-size: 0.9em; padding: 4px 10px; border-radius: 3px;', - title: l(:label_appointment_history) do %> - - <%= l(:label_appointment_history) %> - <% end %> - <% end %> <% if is_current_month %>