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

[livejournal] r21088: LJSUP-10959: Add "View classic comments"...

Committer: esavintcev
LJSUP-10959: Add "View classic comments" minimalism setting
U   trunk/cgi-bin/LJ/Talk.pm
U   trunk/htdocs/stc/sup/s/old_s1.css
U   trunk/templates/CommentForm/Form.tmpl
Modified: trunk/cgi-bin/LJ/Talk.pm
===================================================================
--- trunk/cgi-bin/LJ/Talk.pm	2012-02-03 11:12:22 UTC (rev 21087)
+++ trunk/cgi-bin/LJ/Talk.pm	2012-02-03 12:17:05 UTC (rev 21088)
@@ -2203,6 +2203,7 @@
         'subjicon_current_w'        => $subicon_current_show{'w'},
         'subjicon_current_h'        => $subicon_current_show{'h'},
         'warnscreened'              => !$editid && $parpost->{'state'} eq "S",
+        parpost                     => $parpost->{'jtalkid'}? 1 : 0,
 
         'form_intro'                => $form_intro,
         'errors'                    => \@errors_show,

Modified: trunk/htdocs/stc/sup/s/old_s1.css
===================================================================
--- trunk/htdocs/stc/sup/s/old_s1.css	2012-02-03 11:12:22 UTC (rev 21087)
+++ trunk/htdocs/stc/sup/s/old_s1.css	2012-02-03 12:17:05 UTC (rev 21088)
@@ -138,6 +138,11 @@
 		width: auto;
 		}
 
+.b-postform-replyto {
+	padding-top: 1em;
+	border-top: 2px solid #369;
+	}
+
 .comments-links ~ #qrdiv form,
 .comment-wrap ~ .comments-footer #qrdiv form {
 	width: 700px;

Modified: trunk/templates/CommentForm/Form.tmpl
===================================================================
--- trunk/templates/CommentForm/Form.tmpl	2012-02-03 11:12:22 UTC (rev 21087)
+++ trunk/templates/CommentForm/Form.tmpl	2012-02-03 12:17:05 UTC (rev 21088)
@@ -17,6 +17,7 @@
         <TMPL_IF EXPR="commentcaptcha eq 'F'">b-postform-captcha-nonfriend</TMPL_IF>
         <TMPL_IF EXPR="commentcaptcha eq 'A'">b-postform-captcha-all</TMPL_IF>
         <TMPL_IF notaspammer>b-postform-notaspammer</TMPL_IF>
+        <TMPL_IF parpost>b-postform-replyto</TMPL_IF>
         b-postform-trueauth-<TMPL_VAR authtype>
         b-postform-realauth-<TMPL_VAR usertype>
         b-postform-authtype-<TMPL_VAR usertype>

Tags: css, esavintcev, livejournal, pm, savintsev_egor, tmpl
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