Савинцев Егор 🚶 (savintsev_egor) wrote in changelog,
Савинцев Егор 🚶
savintsev_egor
changelog

[ljcom] r12693: LJSV-2195: Unable to unscreen one commen...

Committer: esavintcev
LJSV-2195: Unable to unscreen one comment in Gradiend Strip
U   trunk/bin/upgrading/s2layers/gradient/layout.s2
Modified: trunk/bin/upgrading/s2layers/gradient/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/gradient/layout.s2	2012-09-26 09:40:40 UTC (rev 12692)
+++ trunk/bin/upgrading/s2layers/gradient/layout.s2	2012-09-26 10:34:41 UTC (rev 12693)
@@ -1671,7 +1671,7 @@
     """<div id="$c.dom_id" class="comment" style="margin-left: $indent;"><a name="$c.anchor"></a>""";
     if (($c.spam) and (not $p.showspam) and (not $c.can_marked_as_spam) and (size($c.replies) > 0)) {
         """<strong>$*text_spam_comment</strong>""";
-    } elseif ($c.screened) {
+    } elseif ($c.screened and not viewer_is_owner()) {
         """$*text_comment_screened""";
     } elseif ($c.deleted) {
         """$*text_comment_deleted""";
@@ -1689,9 +1689,6 @@
     """<div class="commentlinks">$*comment_link_divider """;
     if ($c.thread_url != "") {
         """<a href="$c.thread_url">Thread</a> $*comment_link_divider """;
-        if ($c.parent_url != "") {
-            $c->print_expand_collapse_links({ "expand"=>" %_", "collapse"=>" %_"}); 
-        }
     }
     if ($c.parent_url != "") {
         """<a href="$c.parent_url">Parent</a> $*comment_link_divider """;

Tags: esavintcev, ljcom, s2, savintsev_egor
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