[livejournal] r19722: LJSUP-8806: Showing link to suspicious c...
Committer: mchervonniy
LJSUP-8806: Showing link to suspicious comments, if there is no normal comments, BloggishU trunk/bin/upgrading/s2layers/sixhtml/layout.s2
Modified: trunk/bin/upgrading/s2layers/sixhtml/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/sixhtml/layout.s2 2011-08-15 08:43:28 UTC (rev 19721)
+++ trunk/bin/upgrading/s2layers/sixhtml/layout.s2 2011-08-15 09:46:12 UTC (rev 19722)
@@ -1208,6 +1208,8 @@
if ($e.comments.show_postlink) { " $sep "; $e.comments->print_postlink(); }
if ($e.comments.show_readlink) {
" $sep "; $e.comments->print_readlink();
+ }
+ if ($e.comments.spam_counter) {
if ($p.view == "entry" and $e.comments.spam_counter > 0 and $e.comments.read_spam_url != "") {
if ($p.showspam) {
print safe """ $sep """ + get_plural_phrase($e.comments.spam_counter, "text_read_spam_comments");
