mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
Merge pull request #668 from indentlabs/end-lore-promotion
End lore promotion
This commit is contained in:
commit
5a62365410
@ -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
|
||||
|
||||
@ -67,8 +67,6 @@
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<%= render partial: 'notice_dismissal/messages/08' %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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: {
|
||||
|
||||
@ -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;' %>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user