Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/views/comments/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% content_for(:page_bg_class, "admin-only bg-white") %>
<% content_for(:page_bg_class, "admin-only bg-blue-100") %>
<div class="mb-3">
<%= link_to admin_path, class: "text-sm text-gray-500 hover:text-gray-700" do %>
<i class="fa-solid fa-arrow-left text-xs"></i> Admin home
Expand Down
2 changes: 1 addition & 1 deletion app/views/events/edit_staff.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% content_for(:page_bg_class, "admin-or-owner bg-white") %>
<% content_for(:page_bg_class, "admin-or-owner bg-blue-100") %>

<div class="max-w-5xl mx-auto <%= DomainTheme.bg_class_for(:events) %> border border-gray-200 rounded-xl shadow p-6 sm:p-8">
<%# Eyebrow returns to wherever the editor was opened from: a registrant's (or
Expand Down
2 changes: 1 addition & 1 deletion app/views/notifications/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% content_for(:page_bg_class, "admin-only bg-white") %>
<% content_for(:page_bg_class, "admin-only bg-blue-100") %>
<% return_record = notification_return_record %>

<%# Eyebrow: back to the record we came from (a person/registration's "View all"),
Expand Down
2 changes: 1 addition & 1 deletion app/views/people/all_comments.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% content_for(:page_bg_class, "admin-only bg-white") %>
<% content_for(:page_bg_class, "admin-only bg-blue-100") %>
<div class="mb-3">
<%= link_to person_path(@person), class: "text-sm text-gray-500 hover:text-gray-700" do %>
<i class="fa-solid fa-arrow-left text-xs"></i> Back to <%= @person.full_name %>
Expand Down
8 changes: 4 additions & 4 deletions spec/views/page_bg_class_alignment_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@
"app/views/allocations/index.html.erb" => "admin-only bg-blue-100",
"app/views/other_responses/index.html.erb" => "admin-only bg-blue-100",
"app/views/banners/index.html.erb" => "admin-only bg-blue-100",
"app/views/people/all_comments.html.erb" => "admin-only bg-white",
"app/views/comments/index.html.erb" => "admin-only bg-white",
"app/views/people/all_comments.html.erb" => "admin-only bg-blue-100",
"app/views/comments/index.html.erb" => "admin-only bg-blue-100",
"app/views/bookmarks/index.html.erb" => "admin-only bg-blue-100",
"app/views/categories/index.html.erb" => "admin-only bg-blue-100",
"app/views/category_types/index.html.erb" => "admin-only bg-blue-100",
Expand All @@ -120,7 +120,7 @@
"app/views/events/signins.html.erb" => "admin-or-owner bg-blue-100",
"app/views/events/sample_ticket.html.erb" => "admin-or-owner bg-blue-100",
"app/views/events/bulk_payments/index.html.erb" => "admin-or-owner bg-blue-100",
"app/views/events/edit_staff.html.erb" => "admin-or-owner bg-white",
"app/views/events/edit_staff.html.erb" => "admin-or-owner bg-blue-100",
"app/views/events/recipients.html.erb" => "admin-or-owner bg-blue-100",
"app/views/events/registrants.html.erb" => "admin-or-owner bg-blue-100",
"app/views/events/roster.html.erb" => "admin-or-owner bg-blue-100",
Expand All @@ -137,7 +137,7 @@
"app/views/forms/index.html.erb" => "admin-only bg-blue-100",
"app/views/forms/show.html.erb" => "admin-only bg-blue-100",
"app/views/author_credit_divergences/index.html.erb" => "admin-only bg-blue-100",
"app/views/notifications/index.html.erb" => "admin-only bg-white",
"app/views/notifications/index.html.erb" => "admin-only bg-blue-100",
"app/views/notifications/new.html.erb" => "admin-only bg-blue-100",
"app/views/organization_statuses/index.html.erb" => "admin-only bg-blue-100",
"app/views/quotes/index.html.erb" => "admin-only bg-blue-100",
Expand Down