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

[livejournal] r20642: LJSUP-10206: There is no link to Collaps...

Committer: mchervonniy
LJSUP-10206: There is no link to Collapse in Gradient Strip style
U   trunk/bin/upgrading/s2layers/punquin/layout.s2
U   trunk/bin/upgrading/s2layers/refriedpaper/layout.s2
Modified: trunk/bin/upgrading/s2layers/punquin/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/punquin/layout.s2	2011-11-28 12:14:04 UTC (rev 20641)
+++ trunk/bin/upgrading/s2layers/punquin/layout.s2	2011-11-28 12:23:37 UTC (rev 20642)
@@ -982,10 +982,6 @@
     if ($c.parent_url != "") { "(<a href='$c.parent_url'>Parent</a>) "; }
     if ($c.thread_url != "" and (not $c.spam)) {
          "(<a href='$c.thread_url'>Thread</a>) ";
-#          # var Link expand_link = $c->get_link("expand_comments");
-#          # if (defined $expand_link) {
-#          #     "(" + $c->expand_link() + ") ";
-#          # }
          if ($c.parent_url != "") {
             $c->print_expand_collapse_links({ "expand"=>"(%_) ", "collapse"=>"(%_) "});
         }

Modified: trunk/bin/upgrading/s2layers/refriedpaper/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/refriedpaper/layout.s2	2011-11-28 12:14:04 UTC (rev 20641)
+++ trunk/bin/upgrading/s2layers/refriedpaper/layout.s2	2011-11-28 12:23:37 UTC (rev 20642)
@@ -767,26 +767,19 @@
       $url    = $c.thread_url;
       $text   = $*text_comment_thread;
       $thread = """<a href="$url">$text</a>$btwn_comments""";
-      #var Link expand_link = $c->get_link("expand_comments");
-      #if (defined $expand_link) {
-      #  $expand = $c->expand_link() + $btwn_comments;
-      #}
     }
-    ###$c->print_reply_link({"linktext" => "$*text_comment_reply"}); 
 
-        if($c.screened == true) {
-            ### if comment screened - show link for unscreen
-            var Link link;
-            $link = $c->get_link("unscreen_to_reply");
-            """<a href="$link.url" title="$link.caption">$link.caption</a>""";
-        } else {
-            ### showing reply link if comment not screened
-            $c->print_reply_link({ "linktext" => $*text_comment_reply });
-        }
+    if($c.screened == true) {
+        ### if comment screened - show link for unscreen
+        var Link link;
+        $link = $c->get_link("unscreen_to_reply");
+        """<a href="$link.url" title="$link.caption">$link.caption</a>""";
+    } else {
+        ### showing reply link if comment not screened
+        $c->print_reply_link({ "linktext" => $*text_comment_reply });
+    }
 
-    
     print " | ";
-    #$linkbar = $linkbar + $parent + $thread + $expand;
     $linkbar = $linkbar + $parent + $thread;
   }
   if($this isa Entry) {

Tags: fiskus_boulder, livejournal, mchervonniy, 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