// RSS date on the dashboard

This commit is contained in:
Damien Metzger
2013-11-05 16:55:55 +01:00
parent 2581acd505
commit ad7dfca9e1
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -205,7 +205,7 @@ function getBlogRss()
success : function(jsonData){
if (!jsonData.has_errors) {
for (var article in jsonData.rss) {
article_html = '<article><h4><a href="'+jsonData.rss[article].link+'">'+jsonData.rss[article].title+'</a></h4><p>'+jsonData.rss[article].short_desc+' <a href="'+jsonData.rss[article].link+'">'+read_more+'</a><p></article><hr/>';
article_html = '<article><h4><a href="'+jsonData.rss[article].link+'">'+jsonData.rss[article].title+'</a></h4><span class="dash-news-date text-muted">'+jsonData.rss[article].date+'</span><p>'+jsonData.rss[article].short_desc+' <a href="'+jsonData.rss[article].link+'">'+read_more+'</a><p></article><hr/>';
$('.dash_news .dash_news_content').append(article_html);
}
}