removed source for non feed
This commit is contained in:
parent
9fa1249232
commit
ea56724a59
|
@ -27,6 +27,8 @@ class AnnouncementsController < ApplicationController
|
||||||
"bulletin_files" => files,
|
"bulletin_files" => files,
|
||||||
"title" => a.title,
|
"title" => a.title,
|
||||||
"source-site" => "",
|
"source-site" => "",
|
||||||
|
"source-site-title" => "",
|
||||||
|
"source-site-link" => "",
|
||||||
"subtitle" => a.subtitle,
|
"subtitle" => a.subtitle,
|
||||||
"statuses" => statuses,
|
"statuses" => statuses,
|
||||||
"category" => a.category.title,
|
"category" => a.category.title,
|
||||||
|
@ -80,8 +82,8 @@ class AnnouncementsController < ApplicationController
|
||||||
"postdate" => fa["postdate"],
|
"postdate" => fa["postdate"],
|
||||||
"author" => fa["author"],
|
"author" => fa["author"],
|
||||||
"source-site" => "<a href='#{fa["source-site"]}' target='_blank' class='feed-source'>#{fa["source-site-title"]}</a>",
|
"source-site" => "<a href='#{fa["source-site"]}' target='_blank' class='feed-source'>#{fa["source-site-title"]}</a>",
|
||||||
"source-site-title" => fa["source-site-title"] || "",
|
"source-site-title" => fa["source-site-title"],
|
||||||
"source-site-link" => fa["source-site"] || "",
|
"source-site-link" => fa["source-site"],
|
||||||
"link_to_show" => OrbitHelper.url_to_show(fa["params"]),
|
"link_to_show" => OrbitHelper.url_to_show(fa["params"]),
|
||||||
"img_src" => fa["image"]["thumb"] || "/assets/announcement-default.jpg",
|
"img_src" => fa["image"]["thumb"] || "/assets/announcement-default.jpg",
|
||||||
"img_description" => fa["image_description_translations"][locale],
|
"img_description" => fa["image_description_translations"][locale],
|
||||||
|
@ -129,6 +131,8 @@ class AnnouncementsController < ApplicationController
|
||||||
"bulletin_files" => files,
|
"bulletin_files" => files,
|
||||||
"title" => a.title,
|
"title" => a.title,
|
||||||
"source-site" => "",
|
"source-site" => "",
|
||||||
|
"source-site-title" => "",
|
||||||
|
"source-site-link" => "",
|
||||||
"subtitle" => a.subtitle,
|
"subtitle" => a.subtitle,
|
||||||
"statuses" => statuses,
|
"statuses" => statuses,
|
||||||
"category" => a.category.title,
|
"category" => a.category.title,
|
||||||
|
|
Loading…
Reference in New Issue