mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
pay no attention to the man behind the curtain
This commit is contained in:
parent
04e7c8df5b
commit
b8769734fb
@ -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
|
||||
|
||||
@ -119,11 +119,13 @@ function commission_basil(style) {
|
||||
<% end %>
|
||||
|
||||
<div class="col s12 m6" style="margin-top: 1rem">
|
||||
<!--
|
||||
<% if @commissions.any? %>
|
||||
<div class="card-panel">
|
||||
<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.
|
||||
</div>
|
||||
<% end %>
|
||||
-->
|
||||
|
||||
<% @commissions.each do |commission| %>
|
||||
<div>
|
||||
@ -184,6 +186,7 @@ function commission_basil(style) {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--
|
||||
<div class="card-action">
|
||||
<% if commission.saved_at? %>
|
||||
<%= link_to 'Saved', commission.entity, class: 'blue-text' %>
|
||||
@ -192,6 +195,7 @@ function commission_basil(style) {
|
||||
<% end %>
|
||||
<%= link_to "Delete", '#', class: 'js-delete-commission red-text right right-align', style: 'margin-right: 0', data: { endpoint: basil_delete_path(commission) } %>
|
||||
</div>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
<% else %>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user