vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[ljcom] r12337: LJSV-2340: No "Expand" link in first lev...

Committer: vad
LJSV-2340: No "Expand" link in first level comments in some S2 styles
U   trunk/bin/upgrading/s2layers/sup/layout.s2
Modified: trunk/bin/upgrading/s2layers/sup/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/sup/layout.s2	2012-07-24 10:55:03 UTC (rev 12336)
+++ trunk/bin/upgrading/s2layers/sup/layout.s2	2012-07-24 14:25:35 UTC (rev 12337)
@@ -1687,9 +1687,7 @@
     if ($c.parent_url != "") { print safe """(<a href="$c.parent_url">$*text_comment_parent</a>) """; }
     if (($c.thread_url != "") and (not $c.spam)) {
         print safe """(<a href="$c.thread_url">$*text_comment_thread</a>) """;
-        if ($c.parent_url != "") {
             $c->print_expand_collapse_links({ "expand"=>"(%_)", "collapse"=>"(%_)"}); 
-        }
     }
     """</div><div class="hr"><hr /></div>""";
 }

Tags: ljcom, s2, vad, vadvs
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