]> git.wh0rd.org Git - tt-rss.git/commitdiff
prefs: show feed errors in feedlist, infobox coloring fixes
authorAndrew Dolgov <fox@madoka.spb.ru>
Mon, 14 May 2007 05:51:18 +0000 (06:51 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Mon, 14 May 2007 05:51:18 +0000 (06:51 +0100)
modules/popup-dialog.php
modules/pref-feeds.php
tt-rss.css

index 56ba9f19cc428ac70f0bab85c41e0b2001c654c3..0403b6231b7b853fe59ff487ad3a023b7a27458b 100644 (file)
@@ -47,7 +47,7 @@
                        print "<form id='feed_add_form' onsubmit='return false'>";
 
                        print "<input type=\"hidden\" name=\"op\" value=\"pref-feeds\">";
-                       print "<input type=\"hidden\" name=\"quiet\" value=\"0\">";
+                       /* print "<input type=\"hidden\" name=\"quiet\" value=\"1\">"; */
                        print "<input type=\"hidden\" name=\"subop\" value=\"add\">"; 
                        print "<input type=\"hidden\" name=\"from\" value=\"tt-rss\">"; 
 
index dbd610714480a23420428e83037c68729cf92bb1..18107f9562d5f9ba39a7673d7c756c6ffea02c7a 100644 (file)
                                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,
 
                                $hidden = sql_bool_to_bool($line["hidden"]);
 
+                               $last_error = $line["last_error"];
+
                                if (!$edit_cat) $edit_cat = __("Uncategorized");
 
                                $last_updated = $line["last_updated"];
                                        $last_article = "<span class=\"insensitive\">$last_article</span>";
                                }
 
+                               if ($last_error) {
+                                       $edit_title = "<span class=\"feed_error\">$edit_title ($last_error)</span>";
+                                       $last_updated = "<span class=\"feed_error\">$last_updated</span>";
+                                       $last_article = "<span class=\"feed_error\">$last_article</span>";
+                               }
+
                                $parent_title = $line["parent_title"];
                                if ($parent_title) {
                                        $parent_title = "<span class='groupPrompt'>(linked to 
index 87e3fb2bf81c7f13f19af3a2296fa3934a51f832..f834ff3082ec21bd7f025c51ad358ec962aff109 100644 (file)
@@ -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;