From 365f95dc87b20a2c1f6441155f6e6f2a63128a5e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 14 May 2007 06:51:18 +0100 Subject: [PATCH] prefs: show feed errors in feedlist, infobox coloring fixes --- modules/popup-dialog.php | 2 +- modules/pref-feeds.php | 9 +++++++++ tt-rss.css | 8 ++++++-- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index 56ba9f19..0403b623 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -47,7 +47,7 @@ print "
"; print ""; - print ""; + /* print ""; */ print ""; print ""; diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index dbd61071..18107f95 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -805,6 +805,7 @@ substring(F1.last_updated,1,16) AS last_updated, F1.parent_feed, F1.update_interval, + F1.last_error, F1.purge_interval, F1.cat_id, F2.title AS parent_title, @@ -864,6 +865,8 @@ $hidden = sql_bool_to_bool($line["hidden"]); + $last_error = $line["last_error"]; + if (!$edit_cat) $edit_cat = __("Uncategorized"); $last_updated = $line["last_updated"]; @@ -933,6 +936,12 @@ $last_article = "$last_article"; } + if ($last_error) { + $edit_title = "$edit_title ($last_error)"; + $last_updated = "$last_updated"; + $last_article = "$last_article"; + } + $parent_title = $line["parent_title"]; if ($parent_title) { $parent_title = "(linked to diff --git a/tt-rss.css b/tt-rss.css index 87e3fb2b..f834ff30 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -521,7 +521,7 @@ div.infoBoxContents td { } div.infoBoxContents a { - color : #4684ff; + color : #527040; } div.infoBoxContents a:hover { @@ -655,6 +655,10 @@ table.innerLoginForm td { padding : 3px 3px 5px 3px; } +span.feed_error { + color : red; +} + span.insensitive, div.insensitive { color : gray; } @@ -921,7 +925,7 @@ ul.feedErrorsList { height : 300px; overflow : auto; list-style-type : none; - border : 1px solid #88b0f0; + border : 1px solid #99d67a; background-color : white; margin : 0px 0px 5px 0px; padding : 0px; -- 2.39.5