fix for source
This commit is contained in:
parent
8df55e816b
commit
17a0e4b4ce
|
@ -26,7 +26,7 @@ class AnnouncementsController < ApplicationController
|
|||
"bulletin_links" => links,
|
||||
"bulletin_files" => files,
|
||||
"title" => a.title,
|
||||
"source-site" => "#",
|
||||
"source-site" => "",
|
||||
"subtitle" => a.subtitle,
|
||||
"statuses" => statuses,
|
||||
"category" => a.category.title,
|
||||
|
@ -79,6 +79,7 @@ class AnnouncementsController < ApplicationController
|
|||
"category" => fa["category"],
|
||||
"postdate" => fa["postdate"],
|
||||
"author" => fa["author"],
|
||||
"source-site" => "<a href='#{fa["source-site"]}' target='_blank'>Source</a>",
|
||||
"link_to_show" => OrbitHelper.url_to_show(fa["params"]),
|
||||
"img_src" => fa["image"]["thumb"] || "/assets/announcement-default.jpg",
|
||||
"img_description" => fa["image_description_translations"][locale],
|
||||
|
@ -111,7 +112,7 @@ class AnnouncementsController < ApplicationController
|
|||
"bulletin_links" => links,
|
||||
"bulletin_files" => files,
|
||||
"title" => a.title,
|
||||
"source-site" => "#",
|
||||
"source-site" => "",
|
||||
"subtitle" => a.subtitle,
|
||||
"statuses" => statuses,
|
||||
"category" => a.category.title,
|
||||
|
|
Loading…
Reference in New Issue