From: Andrew Dolgov Date: Fri, 12 Jul 2013 08:38:50 +0000 (+0400) Subject: mark feed with error in headlines toolbar, use error icon in feed editor X-Git-Tag: 1.9~32 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=1a545dcb44e492494b2f7c473d7534f72b7c5c1b;p=tt-rss.git mark feed with error in headlines toolbar, use error icon in feed editor --- diff --git a/classes/feeds.php b/classes/feeds.php index e71be4e5..5649da7c 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -48,9 +48,11 @@ class Feeds extends Handler_Protected { // right part + $error_class = $error ? "error" : ""; + $reply .= ""; $reply .= ""; - $reply .= ""; + $reply .= ""; if ($feed_site_url) { $last_updated = T_sprintf("Last updated: %s", diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php index 1f8c5e4a..122d4b11 100644 --- a/classes/pref/feeds.php +++ b/classes/pref/feeds.php @@ -572,8 +572,9 @@ class Pref_Feeds extends Handler_Protected { $last_error = $this->dbh->fetch_result($result, 0, "last_error"); if ($last_error) { - print " (error)"; + print " \"(error)\""; } diff --git a/css/tt-rss.css b/css/tt-rss.css index 6b3b310c..de2a92d5 100644 --- a/css/tt-rss.css +++ b/css/tt-rss.css @@ -320,10 +320,6 @@ div.prefHelp { padding : 5px; } -span.feed_error { - color : red; -} - .insensitive { color : #555; } @@ -356,9 +352,9 @@ div#headlines-toolbar span.r { text-align : right; } -div#headlines-toolbar span.r span.error { +#headlines-toolbar span.r .error a { color : red; -} +} div#headlines-toolbar span.r a { color : #555;