source site title and url added
This commit is contained in:
parent
fcce54b43d
commit
cd5b06503e
|
@ -80,6 +80,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-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],
|
||||||
|
|
Loading…
Reference in New Issue