From: Andrew Dolgov Date: Sun, 27 Nov 2005 16:57:40 +0000 (+0100) Subject: headlines: align feed title in vfeed-mode to the right X-Git-Tag: schema_feature_freeze_for_1.1~59 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=bd34c528229a47369a2789cdec855131e77b118b;p=tt-rss.git headlines: align feed title in vfeed-mode to the right --- diff --git a/backend.php b/backend.php index 6129a17c..194d8ccd 100644 --- a/backend.php +++ b/backend.php @@ -959,14 +959,20 @@ $feed_kind = "Labels"; } + if (!$vfeed_query_part) { + $content_query_part = "content as content_preview,"; + } else { + $content_query_part = ""; + } + $result = db_query($link, "SELECT id,title, SUBSTRING(updated,1,16) as updated, unread,feed_id,marked,link,last_read, SUBSTRING(last_read,1,19) as last_read_noms, $vfeed_query_part - SUBSTRING(updated,1,19) as updated_noms, - content as content_preview + $content_query_part + SUBSTRING(updated,1,19) as updated_noms FROM ttrss_entries,ttrss_user_entries WHERE @@ -989,8 +995,8 @@ marked,link,last_read, SUBSTRING(last_read,1,19) as last_read_noms, $vfeed_query_part - SUBSTRING(updated,1,19) as updated_noms, - content + $content_query_part + SUBSTRING(updated,1,19) as updated_noms FROM ttrss_entries,ttrss_user_entries,ttrss_tags WHERE diff --git a/tt-rss.css b/tt-rss.css index 1788515a..59ff1aea 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -710,17 +710,22 @@ span.contentPreview:hover { color : #5050aa; } -td.hlMarkedPic { +table.headlinesList td.hlMarkedPic { width : 25px; text-align : center; } +table.headlinesList td.hlfeed { + text-align : right; + font-size : small; +} + td.hlSelectRow, td.hlUpdatePic { width : 25px; text-align : center; } -td.hlUpdated { +table.headlinesList td.hlUpdated { font-size : small; color : gray; text-align : right;