added json feed link
This commit is contained in:
parent
e56b6f8971
commit
1569acc4ca
|
@ -32,7 +32,7 @@ class Admin::AnnouncementsController < OrbitAdminController
|
|||
end
|
||||
|
||||
def feed
|
||||
@table_feed_fields = ["announcement.feed_name", :tags, "announcement.rssfeed"]
|
||||
@table_feed_fields = ["announcement.feed_name", :tags, "announcement.rssfeed", "announcement.jsonfeed"]
|
||||
@feeds = BulletinFeed.all.asc(:created_at)
|
||||
|
||||
end
|
||||
|
|
|
@ -43,6 +43,9 @@
|
|||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<a href="/xhr/announcements/rssfeed/<%= feed.uid %>.rss" target="_blank">Rss Feed</a>
|
||||
<a href="/xhr/announcements/rssfeed/<%= feed.uid %>.rss" target="_blank">RSS Feed</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="/xhr/announcements/feed/<%= feed.uid %>.json" target="_blank">JSON Feed</a>
|
||||
</td>
|
||||
</tr>
|
|
@ -13,7 +13,8 @@ en:
|
|||
view_count: View Count
|
||||
add_new: Add New
|
||||
feed_name: Feed Name
|
||||
rssfeed: Rss Feed Link
|
||||
rssfeed: RSS Feed Link
|
||||
jsonfeed: JSON Feed Link
|
||||
feed_list: Feed List
|
||||
approve: Approve
|
||||
all_articles: All Articles
|
||||
|
|
|
@ -16,7 +16,8 @@ zh_tw:
|
|||
feed_name: Feed 標題
|
||||
settings: Settings
|
||||
import: Import
|
||||
rssfeed: Rss Feed Link
|
||||
rssfeed: RSS Feed Link
|
||||
jsonfeed: JSON Feed Link
|
||||
feed_list: 訂閱清單
|
||||
all_articles: 文章列表
|
||||
announcement: 公告
|
||||
|
|
Loading…
Reference in New Issue