small fix
This commit is contained in:
parent
cd5b06503e
commit
9fa1249232
|
@ -80,8 +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-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],
|
||||||
|
|
Loading…
Reference in New Issue