diff --git a/app/models/page_types/lore.rb b/app/models/page_types/lore.rb index 33988016..19f2080f 100644 --- a/app/models/page_types/lore.rb +++ b/app/models/page_types/lore.rb @@ -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 diff --git a/app/views/customization/content_types.html.erb b/app/views/customization/content_types.html.erb index b9fe4999..332dfe8b 100644 --- a/app/views/customization/content_types.html.erb +++ b/app/views/customization/content_types.html.erb @@ -67,8 +67,6 @@ - - <%= render partial: 'notice_dismissal/messages/08' %> diff --git a/app/views/layouts/_sidenav.html.erb b/app/views/layouts/_sidenav.html.erb index 01c61b6b..ac9c8a4c 100644 --- a/app/views/layouts/_sidenav.html.erb +++ b/app/views/layouts/_sidenav.html.erb @@ -82,7 +82,7 @@
  • <%= link_to main_app.customization_content_types_path, class: 'waves-effect' do %> add - + Add more... <% end %>
  • diff --git a/app/views/main/dashboard.html.erb b/app/views/main/dashboard.html.erb index cd5555a1..0c36e50f 100644 --- a/app/views/main/dashboard.html.erb +++ b/app/views/main/dashboard.html.erb @@ -1,8 +1,6 @@
    <%= render partial: 'main/dashboard_header_links' %> - <%= render partial: 'notice_dismissal/messages/08' %> - <% if @content %>
    <%= render partial: 'cards/serendipitous/content_question', locals: { diff --git a/app/views/notice_dismissal/messages/_08.html.erb b/app/views/notice_dismissal/messages/_08.html.erb index 5fe4ff40..2b849181 100644 --- a/app/views/notice_dismissal/messages/_08.html.erb +++ b/app/views/notice_dismissal/messages/_08.html.erb @@ -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 %>
    <%= link_to 'Dismiss this notice.', notice_dismissal_dismiss_path(notice_id: 8), class: 'blue-text right', style: 'padding: 0 10px;' %>