From 07dbf9ad898497511c62cd42feda692e598975b1 Mon Sep 17 00:00:00 2001 From: maebeale Date: Fri, 21 Aug 2026 09:26:35 -0400 Subject: [PATCH] Pad the unpadded back-nav eyebrows to match the standard eyebrow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 128 back-nav / eyebrow links used the eyebrow_link_class color but omitted the `px-2 py-1` the standard eyebrows carry, so they read slightly out of line. Add the padding so every back-nav eyebrow is visually identical (same helper, same class string). Left genuinely distinct muted links alone — text-xs "View all" links, edit/close toggle buttons, and eyebrows with special margins. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../admin/ahoy_activities/charts.html.erb | 2 +- .../admin/ahoy_activities/index.html.erb | 4 ++-- .../admin/ahoy_activities/visits.html.erb | 2 +- app/views/admin/analytics/index.html.erb | 2 +- app/views/affiliations/edit.html.erb | 4 ++-- app/views/allocations/index.html.erb | 18 +++++++------- app/views/comments/index.html.erb | 2 +- .../edit.html.erb | 4 ++-- .../index.html.erb | 4 ++-- .../new.html.erb | 4 ++-- .../show.html.erb | 6 ++--- app/views/event_registrations/edit.html.erb | 24 +++++++++---------- .../link_organization.html.erb | 4 ++-- app/views/event_registrations/new.html.erb | 4 ++-- .../event_registrations/transfer.html.erb | 2 +- app/views/events/attendance.html.erb | 8 +++---- app/views/events/attendees.html.erb | 10 ++++---- app/views/events/bulk_payments/index.html.erb | 2 +- app/views/events/confirm_reminder.html.erb | 2 +- app/views/events/dashboard.html.erb | 2 +- app/views/events/edit.html.erb | 2 +- .../events/form_submissions/show.html.erb | 2 +- app/views/events/onboarding.html.erb | 2 +- app/views/events/participation.html.erb | 2 +- app/views/events/preview_reminder.html.erb | 2 +- app/views/events/program_statuses.html.erb | 4 ++-- app/views/events/recipients.html.erb | 2 +- app/views/events/registrants.html.erb | 4 ++-- app/views/events/reports.html.erb | 6 ++--- app/views/events/revenue.html.erb | 4 ++-- app/views/events/roster.html.erb | 2 +- app/views/events/scholarships.html.erb | 4 ++-- app/views/events/signins.html.erb | 2 +- app/views/events/staff.html.erb | 2 +- app/views/features/show.html.erb | 2 +- app/views/form_submissions/index.html.erb | 4 ++-- app/views/membership_invoices/edit.html.erb | 2 +- app/views/membership_invoices/new.html.erb | 2 +- app/views/memberships/edit.html.erb | 2 +- app/views/memberships/index.html.erb | 4 ++-- app/views/memberships/new.html.erb | 2 +- app/views/notifications/index.html.erb | 4 ++-- app/views/notifications/new.html.erb | 4 ++-- app/views/notifications/show.html.erb | 2 +- app/views/organizations/edit.html.erb | 2 +- app/views/people/_membership.html.erb | 2 +- app/views/people/all_comments.html.erb | 2 +- app/views/people/edit.html.erb | 4 ++-- app/views/people/show.html.erb | 2 +- app/views/professional_licenses/edit.html.erb | 2 +- .../professional_licenses/index.html.erb | 4 ++-- app/views/professional_licenses/new.html.erb | 2 +- app/views/scholarships/edit.html.erb | 18 +++++++------- app/views/scholarships/new.html.erb | 12 +++++----- .../topic_subscription_types/edit.html.erb | 2 +- .../topic_subscription_types/index.html.erb | 2 +- .../topic_subscription_types/new.html.erb | 2 +- .../topic_subscriptions/_eyebrow.html.erb | 2 +- .../email_addresses.html.erb | 2 +- app/views/topic_subscriptions/index.html.erb | 6 ++--- app/views/users/edit.html.erb | 2 +- app/views/users/index.html.erb | 2 +- app/views/users/new.html.erb | 2 +- app/views/video_recordings/index.html.erb | 2 +- app/views/video_recordings/show.html.erb | 4 ++-- 65 files changed, 128 insertions(+), 128 deletions(-) diff --git a/app/views/admin/ahoy_activities/charts.html.erb b/app/views/admin/ahoy_activities/charts.html.erb index 897f9841f..9e02c5f3e 100644 --- a/app/views/admin/ahoy_activities/charts.html.erb +++ b/app/views/admin/ahoy_activities/charts.html.erb @@ -2,7 +2,7 @@
<% if allowed_to?(:index?, with: Admin::HomePolicy) %> - <%= link_to admin_path, class: "inline-flex items-center gap-1 text-sm #{eyebrow_link_class}" do %> + <%= link_to admin_path, class: "inline-flex items-center gap-1 text-sm #{eyebrow_link_class} px-2 py-1" do %> Admin <% end %> diff --git a/app/views/admin/ahoy_activities/index.html.erb b/app/views/admin/ahoy_activities/index.html.erb index b66a5cb44..49df26eb7 100644 --- a/app/views/admin/ahoy_activities/index.html.erb +++ b/app/views/admin/ahoy_activities/index.html.erb @@ -5,12 +5,12 @@ <%# Scoped to a person (from their edit page's History card, or the filter) — return to that person, not the generic Admin default. %> <% if @person %> - <%= link_to edit_person_path(@person), class: "inline-flex items-center gap-1 text-sm #{eyebrow_link_class}" do %> + <%= link_to edit_person_path(@person), class: "inline-flex items-center gap-1 text-sm #{eyebrow_link_class} px-2 py-1" do %> <%= truncate(@person.name, length: 30) %> <% end %> <% elsif allowed_to?(:index?, with: Admin::HomePolicy) %> - <%= link_to admin_path, class: "inline-flex items-center gap-1 text-sm #{eyebrow_link_class}" do %> + <%= link_to admin_path, class: "inline-flex items-center gap-1 text-sm #{eyebrow_link_class} px-2 py-1" do %> Admin <% end %> diff --git a/app/views/admin/ahoy_activities/visits.html.erb b/app/views/admin/ahoy_activities/visits.html.erb index cae6c4b72..4fb0197f1 100644 --- a/app/views/admin/ahoy_activities/visits.html.erb +++ b/app/views/admin/ahoy_activities/visits.html.erb @@ -3,7 +3,7 @@
<% if allowed_to?(:index?, with: Admin::HomePolicy) %> - <%= link_to admin_path, class: "inline-flex items-center gap-1 text-sm #{eyebrow_link_class}" do %> + <%= link_to admin_path, class: "inline-flex items-center gap-1 text-sm #{eyebrow_link_class} px-2 py-1" do %> Admin <% end %> diff --git a/app/views/admin/analytics/index.html.erb b/app/views/admin/analytics/index.html.erb index 661cf759e..2fa556d98 100644 --- a/app/views/admin/analytics/index.html.erb +++ b/app/views/admin/analytics/index.html.erb @@ -2,7 +2,7 @@
<% if allowed_to?(:index?, with: Admin::HomePolicy) %> - <%= link_to admin_path, class: "inline-flex items-center gap-1 text-sm #{eyebrow_link_class}" do %> + <%= link_to admin_path, class: "inline-flex items-center gap-1 text-sm #{eyebrow_link_class} px-2 py-1" do %> Admin <% end %> diff --git a/app/views/affiliations/edit.html.erb b/app/views/affiliations/edit.html.erb index 6671c45a5..6ab80166c 100644 --- a/app/views/affiliations/edit.html.erb +++ b/app/views/affiliations/edit.html.erb @@ -7,14 +7,14 @@
<% if back_path %> - <%= link_to back_path, class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to back_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> <%= params[:return_to] == "person" ? @affiliation.person&.full_name : @affiliation.organization&.name %> <% end %> <% else %> <% end %> - <%= link_to "Home", root_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "Home", root_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %>

Edit affiliation

diff --git a/app/views/allocations/index.html.erb b/app/views/allocations/index.html.erb index fd6fe7635..0bf279d17 100644 --- a/app/views/allocations/index.html.erb +++ b/app/views/allocations/index.html.erb @@ -7,35 +7,35 @@
<% if @allocatable.is_a?(EventRegistration) && params[:return_to] == "bulk_payments" %> <%# Re-expand the originating submission's row and scroll to it on return. %> - <%= link_to bulk_payments_return_path(@allocatable.event), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to bulk_payments_return_path(@allocatable.event), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Bulk payments <% end %> <% elsif @allocatable.is_a?(EventRegistration) && params[:return_to] == "registrants" %> - <%= link_to registrants_event_row_path(@allocatable.event, @allocatable.id), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to registrants_event_row_path(@allocatable.event, @allocatable.id), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Registrants <% end %> <% elsif @allocatable.is_a?(EventRegistration) && params[:return_to] == "onboarding" %> - <%= link_to onboarding_event_row_path(@allocatable.event, @allocatable.id), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to onboarding_event_row_path(@allocatable.event, @allocatable.id), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Onboarding <% end %> <% elsif @allocatable.is_a?(EventRegistration) %> - <%= link_to edit_event_registration_path(@allocatable), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to edit_event_registration_path(@allocatable), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Registration <% end %> <% elsif @allocatable.is_a?(ContinuingEducationRegistration) %> - <%= link_to edit_continuing_education_registration_path(@allocatable), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to edit_continuing_education_registration_path(@allocatable), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> CE registration <% end %> <% elsif @allocatable.respond_to?(:event) %> - <%= link_to registrants_event_row_path(@allocatable.event, @allocatable.id), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to registrants_event_row_path(@allocatable.event, @allocatable.id), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Registrants <% end %> <% else %> <% end %>
- <%= link_to "Home", root_path, class: "text-sm #{eyebrow_link_class}" %> - <%= link_to "All allocations", allocations_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "Home", root_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %> + <%= link_to "All allocations", allocations_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %>
@@ -124,7 +124,7 @@ registrants index (left-aligned title, filter form, results table). ---- %>
- <%= link_to "← Home", root_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Home", root_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %>
diff --git a/app/views/comments/index.html.erb b/app/views/comments/index.html.erb index a033ec5eb..d47e15b14 100644 --- a/app/views/comments/index.html.erb +++ b/app/views/comments/index.html.erb @@ -1,6 +1,6 @@ <% content_for(:page_bg_class, "admin-only bg-white") %>
- <%= link_to admin_path, class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to admin_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Admin home <% end %>
diff --git a/app/views/continuing_education_registrations/edit.html.erb b/app/views/continuing_education_registrations/edit.html.erb index e58e91d7f..cca94816d 100644 --- a/app/views/continuing_education_registrations/edit.html.erb +++ b/app/views/continuing_education_registrations/edit.html.erb @@ -5,7 +5,7 @@
<%# Top bar: back link + secondary links, matching the scholarship edit page %>
- <%= link_to ce_registration_return_path(registration), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to ce_registration_return_path(registration), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> <%= ce_registration_return_label %> <% end %>
@@ -18,7 +18,7 @@ icon: "fa-solid fa-id-card text-2xs", href: registration_ce_path(registration.slug, return_to: "ce_registration"), target: "_blank", rel: "noopener" %> - <%= link_to "Home", root_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "Home", root_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %>
diff --git a/app/views/continuing_education_registrations/index.html.erb b/app/views/continuing_education_registrations/index.html.erb index 8a9d0297f..43f1c0f90 100644 --- a/app/views/continuing_education_registrations/index.html.erb +++ b/app/views/continuing_education_registrations/index.html.erb @@ -3,10 +3,10 @@
<%# Top-left menu: jump to the cross-event CE sign-ins. %>
- <%= link_to signins_events_path, class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to signins_events_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> CE sign-ins <% end %> - <%= link_to "Home", root_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "Home", root_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %>
diff --git a/app/views/continuing_education_registrations/new.html.erb b/app/views/continuing_education_registrations/new.html.erb index 32a90c19d..d6c64a1c2 100644 --- a/app/views/continuing_education_registrations/new.html.erb +++ b/app/views/continuing_education_registrations/new.html.erb @@ -5,10 +5,10 @@
<%# Top bar: back link + Home, matching the CE edit page. %>
- <%= link_to ce_registration_return_path(registration), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to ce_registration_return_path(registration), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> <%= ce_registration_return_label %> <% end %> - <%= link_to "Home", root_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "Home", root_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %>
<%= render "shared/event_page_header", diff --git a/app/views/continuing_education_registrations/show.html.erb b/app/views/continuing_education_registrations/show.html.erb index e211c501e..493582d92 100644 --- a/app/views/continuing_education_registrations/show.html.erb +++ b/app/views/continuing_education_registrations/show.html.erb @@ -8,12 +8,12 @@
<%# Top bar: back to the CE registrations index + Edit / Home. %>
- <%= link_to continuing_education_registrations_path, class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to continuing_education_registrations_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> CE registrations <% end %>
- <%= link_to "Edit", edit_continuing_education_registration_path(@ce_registration, return_to: "ce_index"), class: "text-sm #{eyebrow_link_class}" %> - <%= link_to "Home", root_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "Edit", edit_continuing_education_registration_path(@ce_registration, return_to: "ce_index"), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> + <%= link_to "Home", root_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %>
diff --git a/app/views/event_registrations/edit.html.erb b/app/views/event_registrations/edit.html.erb index 007a85ca4..f0ea52828 100644 --- a/app/views/event_registrations/edit.html.erb +++ b/app/views/event_registrations/edit.html.erb @@ -7,51 +7,51 @@
<% if params[:return_to] == "bulk_payments" %> <%# Re-expand the originating submission's row and scroll to it on return. %> - <%= link_to bulk_payments_return_path(@event_registration.event), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to bulk_payments_return_path(@event_registration.event), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Bulk payments <% end %> <% elsif params[:return_to] == "preview_reminder" %> - <%= link_to preview_reminder_event_path(@event_registration.event), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to preview_reminder_event_path(@event_registration.event), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Send reminders <% end %> <% elsif params[:return_to] == "onboarding" %> - <%= link_to onboarding_event_row_path(@event_registration.event, @event_registration.id), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to onboarding_event_row_path(@event_registration.event, @event_registration.id), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Onboarding <% end %> <% elsif params[:return_to] == "attendees" %> - <%= link_to attendees_events_path, class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to attendees_events_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Attendees <% end %> <% elsif params[:return_to] == "roster" %> - <%= link_to roster_event_path(@event_registration.event), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to roster_event_path(@event_registration.event), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Roster <% end %> <%# Two ways in from the recipients page: a recipient's name (back to their own card) and the feature-a-shout-out flow (back to the shout-outs section). %> <% elsif params[:return_to] == "recipient_card" %> - <%= link_to recipients_event_card_path(@event_registration.event, @event_registration.slug), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to recipients_event_card_path(@event_registration.event, @event_registration.slug), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Scholarship recipients <% end %> <% elsif params[:return_to] == "recipients" %> - <%= link_to recipients_event_path(@event_registration.event, anchor: "shout-outs"), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to recipients_event_path(@event_registration.event, anchor: "shout-outs"), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Recipients <% end %> <% elsif params[:return_to] == "index" %> - <%= link_to event_registrations_path, class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to event_registrations_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Registrations <% end %> <% elsif params[:return_to] == "attendance" %> - <%= link_to attendance_event_path(@event_registration.event), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to attendance_event_path(@event_registration.event), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Sign-ins <% end %> <% else %> - <%= link_to registrants_event_row_path(@event_registration.event, @event_registration.id), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to registrants_event_row_path(@event_registration.event, @event_registration.id), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Registrants <% end %> <% end %>
- <%= link_to "View", event_registration_path(@event_registration), class: "text-sm #{eyebrow_link_class}" %> - <%= link_to "Home", root_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "View", event_registration_path(@event_registration), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> + <%= link_to "Home", root_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %>
diff --git a/app/views/event_registrations/link_organization.html.erb b/app/views/event_registrations/link_organization.html.erb index a489a526f..55cb476cb 100644 --- a/app/views/event_registrations/link_organization.html.erb +++ b/app/views/event_registrations/link_organization.html.erb @@ -6,9 +6,9 @@
<% if params[:return_to] == "onboarding" %> - <%= link_to "← Back to onboarding", onboarding_event_row_path(@event_registration.event, @event_registration.id), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Back to onboarding", onboarding_event_row_path(@event_registration.event, @event_registration.id), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% else %> - <%= link_to "← Back to registrants", registrants_event_row_path(@event_registration.event, @event_registration.id), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Back to registrants", registrants_event_row_path(@event_registration.event, @event_registration.id), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% end %>
diff --git a/app/views/event_registrations/new.html.erb b/app/views/event_registrations/new.html.erb index 1f5b5ff34..254edacc4 100644 --- a/app/views/event_registrations/new.html.erb +++ b/app/views/event_registrations/new.html.erb @@ -3,10 +3,10 @@
<%# Top bar: back link, matching the event pages %>
- <%= link_to event_registrations_path, class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to event_registrations_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Registrations <% end %> - <%= link_to "Home", root_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "Home", root_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %>
<%# Title block %> diff --git a/app/views/event_registrations/transfer.html.erb b/app/views/event_registrations/transfer.html.erb index dafc26255..99ebbb330 100644 --- a/app/views/event_registrations/transfer.html.erb +++ b/app/views/event_registrations/transfer.html.erb @@ -10,7 +10,7 @@ roster_path = registrants_event_path(source.event) %>
- <%= link_to roster_path, class: "inline-flex items-center gap-1.5 text-sm #{eyebrow_link_class}" do %> + <%= link_to roster_path, class: "inline-flex items-center gap-1.5 text-sm #{eyebrow_link_class} px-2 py-1" do %> <%= source.event.title %> registrants <% end %> diff --git a/app/views/events/attendance.html.erb b/app/views/events/attendance.html.erb index acc39d34e..bb9d95aaf 100644 --- a/app/views/events/attendance.html.erb +++ b/app/views/events/attendance.html.erb @@ -10,13 +10,13 @@
<% case params[:return_to] %> <% when "dashboard" %> - <%= link_to "← Dashboard", dashboard_event_path(@event), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Dashboard", dashboard_event_path(@event), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% when "registrants" %> - <%= link_to "← Registrants", registrants_event_path(@event), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Registrants", registrants_event_path(@event), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% when "signins" %> - <%= link_to "← All sign-ins", signins_events_path(report_to_hub_params.except(:period)), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← All sign-ins", signins_events_path(report_to_hub_params.except(:period)), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% else %> - <%= link_to "← Events participation", participation_events_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Events participation", participation_events_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% end %> <%= render "events/subnav", event: @event, current: :attendance %>
diff --git a/app/views/events/attendees.html.erb b/app/views/events/attendees.html.erb index ee83b5229..99aa5334f 100644 --- a/app/views/events/attendees.html.erb +++ b/app/views/events/attendees.html.erb @@ -11,16 +11,16 @@
<% case params[:return_to] %> <% when "participation" %> - <%= link_to "← Event participation", participation_events_path(report_return), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Event participation", participation_events_path(report_return), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% when "revenue" %> - <%= link_to "← Event revenue", revenue_events_path(report_return), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Event revenue", revenue_events_path(report_return), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% when "reports" %> - <%= link_to "← Event reports", reports_events_path(report_return), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Event reports", reports_events_path(report_return), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% else %> <% if @filter_event %> - <%= link_to "← #{@filter_event.title}", dashboard_event_path(@filter_event), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← #{@filter_event.title}", dashboard_event_path(@filter_event), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% else %> - <%= link_to "← Event reports", reports_events_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Event reports", reports_events_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% end %> <% end %>
diff --git a/app/views/events/bulk_payments/index.html.erb b/app/views/events/bulk_payments/index.html.erb index 677d1ff4c..e88111198 100644 --- a/app/views/events/bulk_payments/index.html.erb +++ b/app/views/events/bulk_payments/index.html.erb @@ -3,7 +3,7 @@
<%# Top bar: eyelash + sub-nav, matching the other event pages %>
- <%= link_to "← Registrants", registrants_event_path(@event), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Registrants", registrants_event_path(@event), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <%= render "events/subnav", event: @event, current: :registrants %>
diff --git a/app/views/events/confirm_reminder.html.erb b/app/views/events/confirm_reminder.html.erb index 71b660df0..be708bd4a 100644 --- a/app/views/events/confirm_reminder.html.erb +++ b/app/views/events/confirm_reminder.html.erb @@ -3,7 +3,7 @@ <%# Top bar: eyelash + sub-nav, matching the other event pages. The eyebrow returns to the recipient picker so the admin can adjust the selection. %>
- <%= link_to "← Recipients", preview_reminder_event_path(@event, mode: (@invite_mode ? "invite" : nil), custom_subject: @custom_subject, custom_message: @custom_message, hide_event_card: (@hide_event_card ? "1" : "0")), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Recipients", preview_reminder_event_path(@event, mode: (@invite_mode ? "invite" : nil), custom_subject: @custom_subject, custom_message: @custom_message, hide_event_card: (@hide_event_card ? "1" : "0")), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <%= render "events/subnav", event: @event, current: nil %>
diff --git a/app/views/events/dashboard.html.erb b/app/views/events/dashboard.html.erb index 63cf24b51..0af9bd17c 100644 --- a/app/views/events/dashboard.html.erb +++ b/app/views/events/dashboard.html.erb @@ -6,7 +6,7 @@
<%# Top bar: back link + sub-nav, matching the other event pages %>
- <%= link_to "← Events", events_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Events", events_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <%= render "events/subnav", event: @event, current: :dashboard %>
<%# Title block with the action buttons pinned top-right so they share the diff --git a/app/views/events/edit.html.erb b/app/views/events/edit.html.erb index 98d4057eb..f07e0b5b9 100644 --- a/app/views/events/edit.html.erb +++ b/app/views/events/edit.html.erb @@ -1,7 +1,7 @@ <% content_for(:page_bg_class, "admin-or-owner bg-blue-100") %>
- <%= link_to "← Dashboard", dashboard_event_path(@event), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Dashboard", dashboard_event_path(@event), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <%= render "events/subnav", event: @event, current: :edit %>
diff --git a/app/views/events/form_submissions/show.html.erb b/app/views/events/form_submissions/show.html.erb index e85677f97..8dd5368f5 100644 --- a/app/views/events/form_submissions/show.html.erb +++ b/app/views/events/form_submissions/show.html.erb @@ -1,5 +1,5 @@
- <%= link_to registrants_event_path(@event), class: "inline-flex items-center gap-1 text-sm #{eyebrow_link_class}" do %> + <%= link_to registrants_event_path(@event), class: "inline-flex items-center gap-1 text-sm #{eyebrow_link_class} px-2 py-1" do %> ← Back to registrants <% end %> diff --git a/app/views/events/onboarding.html.erb b/app/views/events/onboarding.html.erb index fdbc0df9c..84b800bf5 100644 --- a/app/views/events/onboarding.html.erb +++ b/app/views/events/onboarding.html.erb @@ -3,7 +3,7 @@
<%# Top bar: eyelash + sub-nav, matching the other event pages %>
- <%= link_to "← Dashboard", dashboard_event_path(@event), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Dashboard", dashboard_event_path(@event), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <%= render "events/subnav", event: @event, current: :registrants %>
diff --git a/app/views/events/participation.html.erb b/app/views/events/participation.html.erb index 01eec88eb..a49cd00d3 100644 --- a/app/views/events/participation.html.erb +++ b/app/views/events/participation.html.erb @@ -6,7 +6,7 @@
<% label, return_path = participation_return_link %> - <%= link_to label, return_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to label, return_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <%= render "events/report_subnav", current: :details %>
diff --git a/app/views/events/preview_reminder.html.erb b/app/views/events/preview_reminder.html.erb index 96727a922..353d82b8a 100644 --- a/app/views/events/preview_reminder.html.erb +++ b/app/views/events/preview_reminder.html.erb @@ -2,7 +2,7 @@
<%# Top bar: eyelash + sub-nav, matching the other event pages %>
- <%= link_to "← Registrants", registrants_event_path(@event), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Registrants", registrants_event_path(@event), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <%= render "events/subnav", event: @event, current: nil %>
diff --git a/app/views/events/program_statuses.html.erb b/app/views/events/program_statuses.html.erb index 06659e183..bdfa6c039 100644 --- a/app/views/events/program_statuses.html.erb +++ b/app/views/events/program_statuses.html.erb @@ -6,9 +6,9 @@
<% if params[:return_to] == "dashboard" && params[:event_id].present? %> - <%= link_to "← Dashboard", dashboard_event_path(params[:event_id]), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Dashboard", dashboard_event_path(params[:event_id]), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% else %> - <%= link_to "← Reports", reports_events_path(report_to_hub_params), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Reports", reports_events_path(report_to_hub_params), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% end %> <%= render "events/report_subnav", current: :program_statuses %>
diff --git a/app/views/events/recipients.html.erb b/app/views/events/recipients.html.erb index 052ef02c3..69706ea8f 100644 --- a/app/views/events/recipients.html.erb +++ b/app/views/events/recipients.html.erb @@ -16,7 +16,7 @@
<%# Top bar: back link + sub-nav, matching the other event pages %>
- <%= link_to "← Dashboard", dashboard_event_path(@event), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Dashboard", dashboard_event_path(@event), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <%= render "events/subnav", event: @event, current: :scholarships %>
<%# Reports / Grants are cross-page navigation, so they read as text links; only diff --git a/app/views/events/registrants.html.erb b/app/views/events/registrants.html.erb index b06c03899..fa01b7b00 100644 --- a/app/views/events/registrants.html.erb +++ b/app/views/events/registrants.html.erb @@ -7,9 +7,9 @@ <%# Top bar: eyebrow + sub-nav, matching the other event pages. %>
<% if params[:return_to] == "scholarships" %> - <%= link_to "← Events scholarships", scholarships_report_return_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Events scholarships", scholarships_report_return_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% else %> - <%= link_to "← Dashboard", dashboard_event_path(@event), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Dashboard", dashboard_event_path(@event), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% end %> <%= render "events/subnav", event: @event, current: :registrants %>
diff --git a/app/views/events/reports.html.erb b/app/views/events/reports.html.erb index 086029046..4ffd45c9b 100644 --- a/app/views/events/reports.html.erb +++ b/app/views/events/reports.html.erb @@ -6,13 +6,13 @@
<% if @filter_event %> - <%= link_to "← #{@filter_event.title}", dashboard_event_path(@filter_event), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← #{@filter_event.title}", dashboard_event_path(@filter_event), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% elsif params[:return_to] == "events" || !current_user&.super_user? %> <%# Event owners reach the unfiltered hub too, and can't follow the admin home link — send them back to the events index instead. %> - <%= link_to "← Events", events_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Events", events_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% else %> - <%= link_to "← Admin home", admin_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Admin home", admin_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% end %>
diff --git a/app/views/events/revenue.html.erb b/app/views/events/revenue.html.erb index 9bf3ed9b5..abd5972d2 100644 --- a/app/views/events/revenue.html.erb +++ b/app/views/events/revenue.html.erb @@ -6,9 +6,9 @@
<% if params[:return_to] == "dashboard" && params[:event_id].present? %> - <%= link_to "← Dashboard", dashboard_event_path(params[:event_id]), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Dashboard", dashboard_event_path(params[:event_id]), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% else %> - <%= link_to "← Reports", reports_events_path(report_to_hub_params), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Reports", reports_events_path(report_to_hub_params), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% end %>
diff --git a/app/views/events/roster.html.erb b/app/views/events/roster.html.erb index dd5ee2fc7..811188909 100644 --- a/app/views/events/roster.html.erb +++ b/app/views/events/roster.html.erb @@ -12,7 +12,7 @@
<%# Top bar: back link + sub-nav, matching the other event pages %>
- <%= link_to "← Dashboard", dashboard_event_path(@event), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Dashboard", dashboard_event_path(@event), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <%= render "events/subnav", event: @event, current: :roster %>
<% print_button = capture do %> diff --git a/app/views/events/scholarships.html.erb b/app/views/events/scholarships.html.erb index 12cc353ad..78a1a20db 100644 --- a/app/views/events/scholarships.html.erb +++ b/app/views/events/scholarships.html.erb @@ -6,9 +6,9 @@
<% if params[:return_to] == "dashboard" && params[:event_id].present? %> - <%= link_to "← Dashboard", dashboard_event_path(params[:event_id]), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Dashboard", dashboard_event_path(params[:event_id]), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% else %> - <%= link_to "← Reports", reports_events_path(report_to_hub_params), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Reports", reports_events_path(report_to_hub_params), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% end %> <%= render "events/report_subnav", current: :scholarships %>
diff --git a/app/views/events/signins.html.erb b/app/views/events/signins.html.erb index e837e36b2..ede40179d 100644 --- a/app/views/events/signins.html.erb +++ b/app/views/events/signins.html.erb @@ -7,7 +7,7 @@
- <%= link_to "← Reports", reports_events_path(report_to_hub_params), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Reports", reports_events_path(report_to_hub_params), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <%= render "events/report_subnav", current: :signins %>
diff --git a/app/views/events/staff.html.erb b/app/views/events/staff.html.erb index 5bbf25661..67e266fa0 100644 --- a/app/views/events/staff.html.erb +++ b/app/views/events/staff.html.erb @@ -7,7 +7,7 @@
<%# Top bar: back link on the left; sub-nav (admins only) on the right %>
- <%= link_to "← Event", event_path(@event), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Event", event_path(@event), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% if allowed_to?(:manage?, @event) %> <%= render "events/subnav", event: @event, current: nil %> <% end %> diff --git a/app/views/features/show.html.erb b/app/views/features/show.html.erb index 8c6e39b14..4979417c2 100644 --- a/app/views/features/show.html.erb +++ b/app/views/features/show.html.erb @@ -2,7 +2,7 @@
- <%= link_to features_path, class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to features_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Features & tips <% end %>
diff --git a/app/views/form_submissions/index.html.erb b/app/views/form_submissions/index.html.erb index 5676f8869..d85810388 100644 --- a/app/views/form_submissions/index.html.erb +++ b/app/views/form_submissions/index.html.erb @@ -4,13 +4,13 @@
<% if params[:return_to] == "forms" && @form %>
- <%= link_to forms_path(anchor: "form_#{@form.id}"), class: "inline-flex items-center gap-1.5 text-sm #{eyebrow_link_class}" do %> + <%= link_to forms_path(anchor: "form_#{@form.id}"), class: "inline-flex items-center gap-1.5 text-sm #{eyebrow_link_class} px-2 py-1" do %> Forms <% end %>
<% elsif @person %>
- <%= link_to edit_person_path(@person), class: "inline-flex items-center gap-1.5 text-sm #{eyebrow_link_class}" do %> + <%= link_to edit_person_path(@person), class: "inline-flex items-center gap-1.5 text-sm #{eyebrow_link_class} px-2 py-1" do %> Edit <%= @person.name %> <% end %>
diff --git a/app/views/membership_invoices/edit.html.erb b/app/views/membership_invoices/edit.html.erb index 2dbc7baa4..f8708ff57 100644 --- a/app/views/membership_invoices/edit.html.erb +++ b/app/views/membership_invoices/edit.html.erb @@ -3,7 +3,7 @@
- <%= link_to person_memberships_path(person), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to person_memberships_path(person), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Membership <% end %>
diff --git a/app/views/membership_invoices/new.html.erb b/app/views/membership_invoices/new.html.erb index e6e32c35a..5a8e7023b 100644 --- a/app/views/membership_invoices/new.html.erb +++ b/app/views/membership_invoices/new.html.erb @@ -3,7 +3,7 @@
- <%= link_to person_memberships_path(person), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to person_memberships_path(person), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Membership <% end %>
diff --git a/app/views/memberships/edit.html.erb b/app/views/memberships/edit.html.erb index fd5113b4d..3d137f409 100644 --- a/app/views/memberships/edit.html.erb +++ b/app/views/memberships/edit.html.erb @@ -2,7 +2,7 @@
- <%= link_to person_memberships_path(@person), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to person_memberships_path(@person), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Membership <% end %>
diff --git a/app/views/memberships/index.html.erb b/app/views/memberships/index.html.erb index 02ef9be73..8399c75ec 100644 --- a/app/views/memberships/index.html.erb +++ b/app/views/memberships/index.html.erb @@ -4,10 +4,10 @@
- <%= link_to person_path(@person), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to person_path(@person), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> <%= @person.full_name %> <% end %> - <%= link_to "All memberships", membership_invoices_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "All memberships", membership_invoices_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %>
diff --git a/app/views/memberships/new.html.erb b/app/views/memberships/new.html.erb index 744d179bc..165a7a24d 100644 --- a/app/views/memberships/new.html.erb +++ b/app/views/memberships/new.html.erb @@ -2,7 +2,7 @@
- <%= link_to person_memberships_path(@person), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to person_memberships_path(@person), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Membership <% end %>
diff --git a/app/views/notifications/index.html.erb b/app/views/notifications/index.html.erb index 4603f5de3..d7c3917ce 100644 --- a/app/views/notifications/index.html.erb +++ b/app/views/notifications/index.html.erb @@ -5,11 +5,11 @@ or to admin home when reached directly. %>
<% if return_record %> - <%= link_to notification_return_path(return_record), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to notification_return_path(return_record), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> <%= noticeable_label(return_record) %> <% end %> <% else %> - <%= link_to admin_path, class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to admin_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Admin home <% end %> <% end %> diff --git a/app/views/notifications/new.html.erb b/app/views/notifications/new.html.erb index 4645bf418..24f1c3ea4 100644 --- a/app/views/notifications/new.html.erb +++ b/app/views/notifications/new.html.erb @@ -1,7 +1,7 @@ <% content_for(:page_bg_class, "admin-only bg-blue-100") %>
- <%= link_to notifications_path, class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to notifications_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> <%= t("communications.back_link") %> <% end %>
@@ -78,7 +78,7 @@
- <%= link_to "Cancel", notifications_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "Cancel", notifications_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <%= f.button :submit, t("communications.new"), class: "btn btn-primary" %>
diff --git a/app/views/notifications/show.html.erb b/app/views/notifications/show.html.erb index 99317bdcf..e1e3cd50a 100644 --- a/app/views/notifications/show.html.erb +++ b/app/views/notifications/show.html.erb @@ -5,7 +5,7 @@ ========================================= %>
- <%= link_to notifications_path, class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to notifications_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> <%= t("communications.back_link") %> <% end %>
diff --git a/app/views/organizations/edit.html.erb b/app/views/organizations/edit.html.erb index dc6703f66..9f8a9a736 100644 --- a/app/views/organizations/edit.html.erb +++ b/app/views/organizations/edit.html.erb @@ -2,7 +2,7 @@
<% if params[:return_to] == "onboarding" && params[:event_id].present? %>
- <%= link_to onboarding_event_row_path(params[:event_id], params[:highlight]), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to onboarding_event_row_path(params[:event_id], params[:highlight]), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Onboarding <% end %>
diff --git a/app/views/people/_membership.html.erb b/app/views/people/_membership.html.erb index 8a4b3aa77..35f23c107 100644 --- a/app/views/people/_membership.html.erb +++ b/app/views/people/_membership.html.erb @@ -1,7 +1,7 @@

Membership

- <%= link_to "Manage membership", person_memberships_path(person), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "Manage membership", person_memberships_path(person), class: "text-sm #{eyebrow_link_class} px-2 py-1" %>
diff --git a/app/views/people/all_comments.html.erb b/app/views/people/all_comments.html.erb index 5889470e7..82d7c6518 100644 --- a/app/views/people/all_comments.html.erb +++ b/app/views/people/all_comments.html.erb @@ -1,6 +1,6 @@ <% content_for(:page_bg_class, "admin-only bg-white") %>
- <%= link_to person_path(@person), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to person_path(@person), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Back to <%= @person.full_name %> <% end %>
diff --git a/app/views/people/edit.html.erb b/app/views/people/edit.html.erb index 1a475c6dc..dc42ef970 100644 --- a/app/views/people/edit.html.erb +++ b/app/views/people/edit.html.erb @@ -3,13 +3,13 @@
<% if params[:return_to] == "onboarding" && params[:event_id].present? %>
- <%= link_to onboarding_event_row_path(params[:event_id], params[:highlight]), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to onboarding_event_row_path(params[:event_id], params[:highlight]), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Onboarding <% end %>
<% elsif params[:return_to] == "registration_link" && params[:event_registration_id].present? %>
- <%= link_to link_organization_event_registration_path(params[:event_registration_id], return_to: params[:link_org_return_to].presence), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to link_organization_event_registration_path(params[:event_registration_id], return_to: params[:link_org_return_to].presence), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Organization linking <% end %>
diff --git a/app/views/people/show.html.erb b/app/views/people/show.html.erb index c752a1251..a34a557c0 100644 --- a/app/views/people/show.html.erb +++ b/app/views/people/show.html.erb @@ -4,7 +4,7 @@ <% if params[:return_to] == "registrants" && params[:event_id].present? %> <% back_registration = @person.event_registrations.find_by(event_id: params[:event_id]) %>
- <%= link_to(back_registration ? registrants_event_row_path(params[:event_id], back_registration.id) : registrants_event_path(params[:event_id]), class: "text-sm #{eyebrow_link_class}") do %> + <%= link_to(back_registration ? registrants_event_row_path(params[:event_id], back_registration.id) : registrants_event_path(params[:event_id]), class: "text-sm #{eyebrow_link_class} px-2 py-1") do %> Back to registrants <% end %>
diff --git a/app/views/professional_licenses/edit.html.erb b/app/views/professional_licenses/edit.html.erb index 81c88bf3a..e4db7dd0c 100644 --- a/app/views/professional_licenses/edit.html.erb +++ b/app/views/professional_licenses/edit.html.erb @@ -2,7 +2,7 @@
- <%= link_to professional_licenses_path, class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to professional_licenses_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Licenses <% end %>
diff --git a/app/views/professional_licenses/index.html.erb b/app/views/professional_licenses/index.html.erb index be91218ed..5e220e906 100644 --- a/app/views/professional_licenses/index.html.erb +++ b/app/views/professional_licenses/index.html.erb @@ -2,10 +2,10 @@
- <%= link_to continuing_education_registrations_path, class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to continuing_education_registrations_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> CE registrations <% end %> - <%= link_to "Home", root_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "Home", root_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %>
diff --git a/app/views/professional_licenses/new.html.erb b/app/views/professional_licenses/new.html.erb index f24ac563e..22579625f 100644 --- a/app/views/professional_licenses/new.html.erb +++ b/app/views/professional_licenses/new.html.erb @@ -2,7 +2,7 @@
- <%= link_to professional_licenses_path, class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to professional_licenses_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Licenses <% end %>
diff --git a/app/views/scholarships/edit.html.erb b/app/views/scholarships/edit.html.erb index 91f162559..d91e334ce 100644 --- a/app/views/scholarships/edit.html.erb +++ b/app/views/scholarships/edit.html.erb @@ -7,31 +7,31 @@ <%# Top bar: back link + secondary links, matching the registration edit page %>
<% if grant_nav %> - <%= link_to (params[:return_to] == "grant_edit" ? edit_grant_path(grant) : grant_path(grant)), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to (params[:return_to] == "grant_edit" ? edit_grant_path(grant) : grant_path(grant)), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Grant <% end %> <% elsif @allocatable.respond_to?(:event) && params[:return_to] == "registration" %> - <%= link_to edit_event_registration_path(@allocatable), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to edit_event_registration_path(@allocatable), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Registration <% end %> <% elsif @allocatable.respond_to?(:event) && params[:return_to] == "recipients" %> - <%= link_to recipients_event_card_path(@allocatable.event, params[:participant]), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to recipients_event_card_path(@allocatable.event, params[:participant]), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Recipients <% end %> <% elsif @allocatable.respond_to?(:event) && params[:return_to] == "onboarding" %> - <%= link_to onboarding_event_row_path(@allocatable.event, @allocatable.id), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to onboarding_event_row_path(@allocatable.event, @allocatable.id), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Onboarding <% end %> <% elsif @allocatable.respond_to?(:event) %> - <%= link_to registrants_event_row_path(@allocatable.event, @allocatable.id), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to registrants_event_row_path(@allocatable.event, @allocatable.id), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Registrants <% end %> <% elsif grant.present? %> - <%= link_to grant_path(grant), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to grant_path(grant), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Grant <% end %> <% else %> - <%= link_to scholarships_path, class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to scholarships_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Scholarships <% end %> <% end %> @@ -47,8 +47,8 @@ href: registration_scholarship_path(@allocatable.slug, return_to: "scholarship"), target: "_blank", rel: "noopener" %> <% end %> - <%= link_to "View", scholarship_path(@scholarship), class: "text-sm #{eyebrow_link_class}" %> - <%= link_to "Home", root_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "View", scholarship_path(@scholarship), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> + <%= link_to "Home", root_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %>
diff --git a/app/views/scholarships/new.html.erb b/app/views/scholarships/new.html.erb index 7f0ef7d67..7b0ca8d0e 100644 --- a/app/views/scholarships/new.html.erb +++ b/app/views/scholarships/new.html.erb @@ -5,28 +5,28 @@ <%# Top bar: back link + secondary links, matching the registration edit page %>
<% if @grant %> - <%= link_to (params[:return_to] == "grant_edit" ? edit_grant_path(@grant) : grant_path(@grant)), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to (params[:return_to] == "grant_edit" ? edit_grant_path(@grant) : grant_path(@grant)), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Grant <% end %> <% elsif @allocatable.respond_to?(:event) && params[:return_to] == "registration" %> - <%= link_to edit_event_registration_path(@allocatable), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to edit_event_registration_path(@allocatable), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Registration <% end %> <% elsif @allocatable.respond_to?(:event) && params[:return_to] == "onboarding" %> - <%= link_to onboarding_event_row_path(@allocatable.event, @allocatable.id), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to onboarding_event_row_path(@allocatable.event, @allocatable.id), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Onboarding <% end %> <% elsif @allocatable.respond_to?(:event) %> - <%= link_to registrants_event_row_path(@allocatable.event, @allocatable.id), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to registrants_event_row_path(@allocatable.event, @allocatable.id), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Registrants <% end %> <% else %> - <%= link_to scholarships_path, class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to scholarships_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Scholarships <% end %> <% end %>
- <%= link_to "Home", root_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "Home", root_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %>
diff --git a/app/views/topic_subscription_types/edit.html.erb b/app/views/topic_subscription_types/edit.html.erb index 08338ef52..04e47e581 100644 --- a/app/views/topic_subscription_types/edit.html.erb +++ b/app/views/topic_subscription_types/edit.html.erb @@ -2,7 +2,7 @@
- <%= link_to "← Subscription topics", topic_subscription_types_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Subscription topics", topic_subscription_types_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %>

Edit topic

<%= render "form", submit_label: "Save changes" %> diff --git a/app/views/topic_subscription_types/index.html.erb b/app/views/topic_subscription_types/index.html.erb index d59b45460..ccaa206b8 100644 --- a/app/views/topic_subscription_types/index.html.erb +++ b/app/views/topic_subscription_types/index.html.erb @@ -2,7 +2,7 @@
- <%= link_to "← Subscriptions", topic_subscriptions_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Subscriptions", topic_subscriptions_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %>
diff --git a/app/views/topic_subscription_types/new.html.erb b/app/views/topic_subscription_types/new.html.erb index 4bbbe6e30..ddc0a8b49 100644 --- a/app/views/topic_subscription_types/new.html.erb +++ b/app/views/topic_subscription_types/new.html.erb @@ -2,7 +2,7 @@
- <%= link_to "← Subscription topics", topic_subscription_types_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Subscription topics", topic_subscription_types_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %>

New topic

<%= render "form", submit_label: "Add topic" %> diff --git a/app/views/topic_subscriptions/_eyebrow.html.erb b/app/views/topic_subscriptions/_eyebrow.html.erb index ca6ff645d..61da2a7ad 100644 --- a/app/views/topic_subscriptions/_eyebrow.html.erb +++ b/app/views/topic_subscriptions/_eyebrow.html.erb @@ -1,4 +1,4 @@ <%# Back link adapts to where the form was opened from (an event's Forms menu, a person's associated records, or the subscriptions index). %> <% back_label, back_path = topic_subscription_return_link %> -<%= link_to back_label, back_path, class: "text-sm #{eyebrow_link_class}" %> +<%= link_to back_label, back_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %> diff --git a/app/views/topic_subscriptions/email_addresses.html.erb b/app/views/topic_subscriptions/email_addresses.html.erb index 5f4905a10..cc628fdec 100644 --- a/app/views/topic_subscriptions/email_addresses.html.erb +++ b/app/views/topic_subscriptions/email_addresses.html.erb @@ -2,7 +2,7 @@
- <%= link_to "← Subscriptions", topic_subscriptions_path(request.query_parameters), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Subscriptions", topic_subscriptions_path(request.query_parameters), class: "text-sm #{eyebrow_link_class} px-2 py-1" %>
diff --git a/app/views/topic_subscriptions/index.html.erb b/app/views/topic_subscriptions/index.html.erb index 5b1bf58ae..67510ca2e 100644 --- a/app/views/topic_subscriptions/index.html.erb +++ b/app/views/topic_subscriptions/index.html.erb @@ -2,10 +2,10 @@
- <%= link_to "← Home", root_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Home", root_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %>
- <%= link_to "Email addresses", email_addresses_topic_subscriptions_path(request.query_parameters), class: "text-sm #{eyebrow_link_class}" %> - <%= link_to "Manage topics", topic_subscription_types_path, class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "Email addresses", email_addresses_topic_subscriptions_path(request.query_parameters), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> + <%= link_to "Manage topics", topic_subscription_types_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" %>
diff --git a/app/views/users/edit.html.erb b/app/views/users/edit.html.erb index 5070c084c..65bbaaee3 100644 --- a/app/views/users/edit.html.erb +++ b/app/views/users/edit.html.erb @@ -12,7 +12,7 @@
<% if params[:return_to] == "onboarding" && params[:event_id].present? %> - <%= link_to onboarding_event_row_path(params[:event_id], params[:highlight]), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to onboarding_event_row_path(params[:event_id], params[:highlight]), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Onboarding <% end %> <% end %> diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb index cc0c82043..30c51b960 100644 --- a/app/views/users/index.html.erb +++ b/app/views/users/index.html.erb @@ -11,7 +11,7 @@
- <%= link_to flow_diagram_users_path, class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to flow_diagram_users_path, class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Account flow diagram <% end %> <% if allowed_to?(:new?, User) %> diff --git a/app/views/users/new.html.erb b/app/views/users/new.html.erb index ccbabae3f..a63b3708b 100644 --- a/app/views/users/new.html.erb +++ b/app/views/users/new.html.erb @@ -1,7 +1,7 @@ <% content_for(:page_bg_class, "admin-only bg-blue-100") %> <% if params[:return_to] == "onboarding" && params[:event_id].present? %>
- <%= link_to onboarding_event_row_path(params[:event_id], params[:highlight]), class: "text-sm #{eyebrow_link_class}" do %> + <%= link_to onboarding_event_row_path(params[:event_id], params[:highlight]), class: "text-sm #{eyebrow_link_class} px-2 py-1" do %> Onboarding <% end %>
diff --git a/app/views/video_recordings/index.html.erb b/app/views/video_recordings/index.html.erb index 63c394458..c30e1d846 100644 --- a/app/views/video_recordings/index.html.erb +++ b/app/views/video_recordings/index.html.erb @@ -32,7 +32,7 @@
<% if @video_type == "instructional" %> - <%= link_to "See all Videos", video_recordings_path(video_type: "all"), class: "block text-sm #{eyebrow_link_class}" %> + <%= link_to "See all Videos", video_recordings_path(video_type: "all"), class: "block text-sm #{eyebrow_link_class} px-2 py-1" %> <% end %> <% if allowed_to?(:new?, VideoRecording) %> <%= link_to "New #{VideoRecording.model_name.human.downcase}", diff --git a/app/views/video_recordings/show.html.erb b/app/views/video_recordings/show.html.erb index 1bc9bd01c..b704f3eb2 100644 --- a/app/views/video_recordings/show.html.erb +++ b/app/views/video_recordings/show.html.erb @@ -49,9 +49,9 @@
<% if @video_recording.is_instructional? %> - <%= link_to "← Instructional videos", video_recordings_path(video_type: "instructional"), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Instructional videos", video_recordings_path(video_type: "instructional"), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% else %> - <%= link_to "← Videos", video_recordings_path(video_type: "all"), class: "text-sm #{eyebrow_link_class}" %> + <%= link_to "← Videos", video_recordings_path(video_type: "all"), class: "text-sm #{eyebrow_link_class} px-2 py-1" %> <% end %>