Максим Червонный (fiskus_boulder) wrote in changelog,
Максим Червонный
fiskus_boulder
changelog

[ljcom] r10862: LJSUP-8806: Showing link to suspicious c...

Committer: mchervonniy
LJSUP-8806: Showing link to suspicious comments, if there is no normal comments, Expressive
U   trunk/bin/upgrading/s2layers/voxhtml/layout.s2
Modified: trunk/bin/upgrading/s2layers/voxhtml/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/voxhtml/layout.s2	2011-08-12 10:09:41 UTC (rev 10861)
+++ trunk/bin/upgrading/s2layers/voxhtml/layout.s2	2011-08-15 09:39:40 UTC (rev 10862)
@@ -1956,7 +1956,7 @@
         $.entry->print_ebox();
     }
     
-    if ($.entry.comments.enabled and $.comment_pages.total_subitems > 0) {
+    if ($.entry.comments.enabled and ($.comment_pages.total_subitems > 0 or $.entry.comments.spam_counter > 0)) {
         var string comments_count = string($.entry.comments.count);
         if ($.viewing_thread) {
             var string toplink = (($.comment_pages.total > 1) ? ($.comment_pages->url_of($.comment_pages.current)) : $.entry.permalink_url) + "#$*text_comments_id";

Tags: fiskus_boulder, ljcom, s2
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments