From 2c5317738952b0f28daaabb88f8f2ed0f07d798f Mon Sep 17 00:00:00 2001 From: chiu Date: Thu, 4 Aug 2022 04:20:52 +0000 Subject: [PATCH] fix error --- app/controllers/event_news_mods_controller.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/controllers/event_news_mods_controller.rb b/app/controllers/event_news_mods_controller.rb index 6a6a53d..8796342 100644 --- a/app/controllers/event_news_mods_controller.rb +++ b/app/controllers/event_news_mods_controller.rb @@ -383,7 +383,6 @@ class EventNewsModsController < ApplicationController "notes-head" => EventNewsCustomTitle.get_trans('notes'), "event_date-head" => EventNewsCustomTitle.get_trans('event_date'), "date-head" => EventNewsCustomTitle.get_trans('event_date'), - "date-head" => t('event_news.table.date'), "author-head" => t('event_news.table.author'), "status-head" => t('event_news.table.status'), "subtitle-head" => t('event_news.table.sub_title'), @@ -825,8 +824,6 @@ class EventNewsModsController < ApplicationController "place-css" => (a.place.blank? ? "display: none;" : ""), "event-time-formated" => event_time_formated, "event-time-css" => (event_time_formated.blank? ? "display: none;" : ""), - "speaker-css" => (a.speaker.blank? ? "display: none;" : ""), - "host-css" => (a.host.blank? ? "display: none;" : ""), "speaker" => a.speaker, "place" => a.place, "host" => a.host, @@ -870,7 +867,6 @@ class EventNewsModsController < ApplicationController "notes-head" => EventNewsCustomTitle.get_trans('notes'), "event_date-head" => EventNewsCustomTitle.get_trans('event_date'), "date-head" => EventNewsCustomTitle.get_trans('event_date'), - "date-head" => t('event_news.table.date'), "status-head" => t('event_news.table.status'), "author-head" => t('event_news.table.author'), "subtitle-head" => t('event_news.table.sub_title'),