diff --git a/lib/ajax.php b/lib/ajax.php index 4b09eebd..7e7a1823 100644 --- a/lib/ajax.php +++ b/lib/ajax.php @@ -52,9 +52,10 @@ if ($action == "newsfeed") { $title = (string)$item->title; $link = (string)$item->link; + $date = date("D, j. F Y, G:i", strtotime($item->pubDate)); $content = preg_replace("/[\r\n]+/", "", strip_tags($item->description)); - echo "
" . $title . "
" . $content . "
"; + echo "
" . $title . "
" . $date . "
" . $content . "
"; } } else { echo ""; diff --git a/templates/Sparkle/assets/css/main.css b/templates/Sparkle/assets/css/main.css index f19c90de..510f2f8b 100644 --- a/templates/Sparkle/assets/css/main.css +++ b/templates/Sparkle/assets/css/main.css @@ -953,7 +953,7 @@ label.nobr { .newsitem { border-bottom: 1px solid #f1f2f3; padding: 6px 5px 8px 5px; - height: 36px; + height: 56px; line-height: 20px; margin: 0 5px; overflow: hidden; @@ -972,3 +972,7 @@ label.nobr { .newsitem b { margin-right: 15px; } +.newsitem small { + font-size: 10px; + color: gray; +}