git added source to status by default
This commit is contained in:
parent
ea56724a59
commit
7b0008c03a
|
@ -72,12 +72,16 @@ class AnnouncementsController < ApplicationController
|
|||
fans = []
|
||||
locale = OrbitHelper.get_site_locale.to_s
|
||||
feed_anns.each do |fa|
|
||||
status = {
|
||||
"status" => "<a href='#{fa["source-site"]}' target='_blank' class='feed-source'>#{fa["source-site-title"]}</a>",
|
||||
"status-class" => "status-source"
|
||||
}
|
||||
x = {
|
||||
"bulletin_links" => fa["bulletin_links"],
|
||||
"bulletin_files" => fa["bulletin_files"],
|
||||
"title" => fa["title_translations"][locale],
|
||||
"subtitle" => fa["subtitle_translations"][locale],
|
||||
"statuses" => [],
|
||||
"statuses" => [status],
|
||||
"category" => fa["category"],
|
||||
"postdate" => fa["postdate"],
|
||||
"author" => fa["author"],
|
||||
|
|
Loading…
Reference in New Issue