1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-24 23:51:28 +00:00

show empty categories in italic in category editor

This commit is contained in:
Andrew Dolgov
2012-06-15 12:24:41 +04:00
parent a62812a6b4
commit 917c12ee30

View File

@@ -1224,6 +1224,8 @@ class Pref_Feeds extends Protected_Handler {
print "<td>";
if ($line['count'] == 0) print '<em>';
print "<span dojoType=\"dijit.InlineEditBox\"
width=\"300px\" autoSave=\"false\"
cat-id=\"$cat_id\">" . $edit_title .
@@ -1243,6 +1245,10 @@ class Pref_Feeds extends Protected_Handler {
</script>
</span>";
if ($line['count'] == 0) print '</em>';
print "</td>";
print "<td align='right' class='insensitive'>";
echo T_sprintf("%d feeds", $line['count']);
print "</td></tr>";