fix error

This commit is contained in:
邱博亞 2022-04-26 11:43:59 +08:00
parent 78e69ceb50
commit 879240c7b8
1 changed files with 11 additions and 1 deletions

View File

@ -699,7 +699,17 @@ class AnnouncementsController < ApplicationController
"bulletin_links" => [],
"data" => {
"title" => announcement.title,
"body" => "<b class='announcement_expired'>#{I18n.t('announcement.expired')}</b><br><a class='announcement_go_back_list' href='../' title='#{I18n.t('announcement.go_back')}'>#{I18n.t('announcement.go_back')}</a>".html_safe
"subtitle_ann" => '',
"update_user" => '',
"updated_at" => '',
"image" => '',
"img_src" => '',
"img_description" => '',
"hide_class" => ' hide',
"alt_title" => '',
"carousel_html" => '',
"sub_anncs_text" => '',
"body" => "<b class='announcement_expired'>#{I18n.t('announcement.expired')}</b><br><a class='announcement_go_back_list' href='./' title='#{I18n.t('announcement.go_back')}'>#{I18n.t('announcement.go_back')}</a>".html_safe
}
}
end