]> git.wh0rd.org Git - tt-rss.git/commitdiff
show 'no tags' in view when article is untagged
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 8 Dec 2006 06:19:28 +0000 (07:19 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 8 Dec 2006 06:19:28 +0000 (07:19 +0100)
backend.php

index 65a8a6ebd32465489882c29b0f4467ec08929b52..fd7ced8ae87a0107d55a0b67e278fc2c852db8b9 100644 (file)
 
                        if (!$entry_comments) $entry_comments = "&nbsp;"; # placeholder
 
+                       if (!$tags_str) $tags_str = '<span class="insensitive">no tags</span>';
+
                        print "<div style='float : right'>$tags_str 
                                <a title=\"Edit tags for this article\" 
                                        href=\"javascript:editArticleTags($id, $feed_id)\">(+)</a></div>