headlines: align feed title in vfeed-mode to the right

This commit is contained in:
Andrew Dolgov 2005-11-27 17:57:40 +01:00
parent 0f172fff41
commit bd34c52822
2 changed files with 17 additions and 6 deletions

View File

@ -959,14 +959,20 @@
$feed_kind = "Labels"; $feed_kind = "Labels";
} }
if (!$vfeed_query_part) {
$content_query_part = "content as content_preview,";
} else {
$content_query_part = "";
}
$result = db_query($link, "SELECT $result = db_query($link, "SELECT
id,title, id,title,
SUBSTRING(updated,1,16) as updated, SUBSTRING(updated,1,16) as updated,
unread,feed_id,marked,link,last_read, unread,feed_id,marked,link,last_read,
SUBSTRING(last_read,1,19) as last_read_noms, SUBSTRING(last_read,1,19) as last_read_noms,
$vfeed_query_part $vfeed_query_part
SUBSTRING(updated,1,19) as updated_noms, $content_query_part
content as content_preview SUBSTRING(updated,1,19) as updated_noms
FROM FROM
ttrss_entries,ttrss_user_entries ttrss_entries,ttrss_user_entries
WHERE WHERE
@ -989,8 +995,8 @@
marked,link,last_read, marked,link,last_read,
SUBSTRING(last_read,1,19) as last_read_noms, SUBSTRING(last_read,1,19) as last_read_noms,
$vfeed_query_part $vfeed_query_part
SUBSTRING(updated,1,19) as updated_noms, $content_query_part
content SUBSTRING(updated,1,19) as updated_noms
FROM FROM
ttrss_entries,ttrss_user_entries,ttrss_tags ttrss_entries,ttrss_user_entries,ttrss_tags
WHERE WHERE

View File

@ -710,17 +710,22 @@ span.contentPreview:hover {
color : #5050aa; color : #5050aa;
} }
td.hlMarkedPic { table.headlinesList td.hlMarkedPic {
width : 25px; width : 25px;
text-align : center; text-align : center;
} }
table.headlinesList td.hlfeed {
text-align : right;
font-size : small;
}
td.hlSelectRow, td.hlUpdatePic { td.hlSelectRow, td.hlUpdatePic {
width : 25px; width : 25px;
text-align : center; text-align : center;
} }
td.hlUpdated { table.headlinesList td.hlUpdated {
font-size : small; font-size : small;
color : gray; color : gray;
text-align : right; text-align : right;