From b8769734fb696abe858bb9bb3f2cfb6442a16844 Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Mon, 13 Mar 2023 16:12:46 -0700 Subject: [PATCH] pay no attention to the man behind the curtain --- app/services/basil_service.rb | 2 +- app/views/basil/content.html.erb | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/services/basil_service.rb b/app/services/basil_service.rb index 5115356b..2318445b 100644 --- a/app/services/basil_service.rb +++ b/app/services/basil_service.rb @@ -1,5 +1,5 @@ class BasilService < Service - IGNORED_VALUES = ['none', 'n/a', '.', '-', ' ', '?', '??', '???', 'x', nil] + IGNORED_VALUES = ['', 'none', 'n/a', '.', '-', ' ', '?', '??', '???', 'x', nil] def self.enabled_styles_for(page_type) case page_type diff --git a/app/views/basil/content.html.erb b/app/views/basil/content.html.erb index c38e4635..f1348d51 100644 --- a/app/views/basil/content.html.erb +++ b/app/views/basil/content.html.erb @@ -119,11 +119,13 @@ function commission_basil(style) { <% end %>
+ <% @commissions.each do |commission| %>
@@ -184,6 +186,7 @@ function commission_basil(style) {
+ <% else %>