Skip to content

Commit b876973

Browse files
committed
pay no attention to the man behind the curtain
1 parent 04e7c8d commit b876973

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

app/services/basil_service.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
class BasilService < Service
2-
IGNORED_VALUES = ['none', 'n/a', '.', '-', ' ', '?', '??', '???', 'x', nil]
2+
IGNORED_VALUES = ['', 'none', 'n/a', '.', '-', ' ', '?', '??', '???', 'x', nil]
33

44
def self.enabled_styles_for(page_type)
55
case page_type

app/views/basil/content.html.erb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,13 @@ function commission_basil(style) {
119119
<% end %>
120120

121121
<div class="col s12 m6" style="margin-top: 1rem">
122+
<!--
122123
<% if @commissions.any? %>
123124
<div class="card-panel">
124125
<strong>Like an image and want to keep it?</strong> Just click <strong>Save</strong> and it'll save to your <%= @content.name %> page next to any normal uploads.
125126
</div>
126127
<% end %>
128+
-->
127129

128130
<% @commissions.each do |commission| %>
129131
<div>
@@ -184,6 +186,7 @@ function commission_basil(style) {
184186
</div>
185187
</div>
186188
</div>
189+
<!--
187190
<div class="card-action">
188191
<% if commission.saved_at? %>
189192
<%= link_to 'Saved', commission.entity, class: 'blue-text' %>
@@ -192,6 +195,7 @@ function commission_basil(style) {
192195
<% end %>
193196
<%= link_to "Delete", '#', class: 'js-delete-commission red-text right right-align', style: 'margin-right: 0', data: { endpoint: basil_delete_path(commission) } %>
194197
</div>
198+
-->
195199
</div>
196200
</div>
197201
<% else %>

0 commit comments

Comments
 (0)