diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 4a23639502..d2ee0e734a 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -188,7 +188,7 @@ select.selectpicker + .dropdown-toggle::after { background-color: #8282df } -div.warning { +div.low_priority_warning { margin: 5px; text-align: center; } diff --git a/app/views/distributions/_distribution_row.html.erb b/app/views/distributions/_distribution_row.html.erb index 71fc0736a9..6e1c99ee7b 100644 --- a/app/views/distributions/_distribution_row.html.erb +++ b/app/views/distributions/_distribution_row.html.erb @@ -32,6 +32,6 @@ text: "Reclaim", icon: "undo", enabled: !distribution_row.has_inactive_item? } %> <% if distribution_row.has_inactive_item? %> -
Has Inactive Items
+
Has Inactive Items
<% end %> diff --git a/app/views/distributions/show.html.erb b/app/views/distributions/show.html.erb index da6776ff12..b37af4a02e 100644 --- a/app/views/distributions/show.html.erb +++ b/app/views/distributions/show.html.erb @@ -92,7 +92,7 @@ <%= print_button_to print_distribution_path(@distribution, format: :pdf), {size: "md"} %> <% if @distribution.has_inactive_item? %> -
+
You can only correct distributions where all the items are active. If you need to make a correction, please make the following items active: <%= @distribution.inactive_items.map(&:name).join(", ") %>
diff --git a/app/views/donations/show.html.erb b/app/views/donations/show.html.erb index 8e45413ae2..fcc6ff1df9 100644 --- a/app/views/donations/show.html.erb +++ b/app/views/donations/show.html.erb @@ -82,7 +82,7 @@ confirm: "Are you sure you want to permanently remove this donation?" } %> <% end %> <% if @donation.has_inactive_item? %> -
+
You can only delete or correct donations where all the items are active. If you need to delete this donation or make a correction, please make the following items active: <%= @donation.inactive_items.map(&:name).join(", ") %>
diff --git a/app/views/purchases/show.html.erb b/app/views/purchases/show.html.erb index b4be293459..d75fb18684 100644 --- a/app/views/purchases/show.html.erb +++ b/app/views/purchases/show.html.erb @@ -77,7 +77,7 @@ confirm: "Are you sure you want to permanently remove this purchase?" } %> <% end %> <% if @purchase.has_inactive_item? %> -
+
You can only delete or correct purchases where all the items are active. If you need to delete this purchase or make a correction, please make the following items active: <%= @purchase.inactive_items.map(&:name).join(", ") %>