Merge pull request #668 from indentlabs/end-lore-promotion

End lore promotion
This commit is contained in:
Andrew Brown 2020-04-21 23:20:26 -05:00 committed by GitHub
commit 5a62365410
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 7 deletions

View File

@ -12,7 +12,7 @@ class Lore < ActiveRecord::Base
include Serendipitous::Concern
include Authority::Abilities
self.authorizer_name = CoreContentAuthorizer.name # todo replace this with CollectiveContentAuthorizer after free promo
self.authorizer_name = ExtendedContentAuthorizer.name
relates :planets, with: :lore_planets
relates :countries, with: :lore_countries

View File

@ -67,8 +67,6 @@
</div>
</li>
</ul>
<%= render partial: 'notice_dismissal/messages/08' %>
</div>
</div>

View File

@ -82,7 +82,7 @@
<li>
<%= link_to main_app.customization_content_types_path, class: 'waves-effect' do %>
<i class="material-icons black-text">add</i>
<span class="new badge <%= Lore.color %> black-text"></span>
<!-- <span class="new badge <%= Lore.color %> black-text"></span> -->
Add more...
<% end %>
</li>

View File

@ -1,8 +1,6 @@
<div class="row">
<%= render partial: 'main/dashboard_header_links' %>
<%= render partial: 'notice_dismissal/messages/08' %>
<% if @content %>
<div class="col s12">
<%= render partial: 'cards/serendipitous/content_question', locals: {

View File

@ -1,4 +1,4 @@
<% if current_user.notice_dismissals.where(notice_id: 8).none? %>
<% if current_user.notice_dismissals.where(notice_id: 8).none? && false %>
<div class="col s12">
<div class="hoverable card-panel blue lighten-5">
<%= link_to 'Dismiss this notice.', notice_dismissal_dismiss_path(notice_id: 8), class: 'blue-text right', style: 'padding: 0 10px;' %>