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

[ljcom] r11404: LJSUP-10959: Add "View classic comments"...

Committer: esavintcev
LJSUP-10959: Add "View classic comments" minimalism setting
U   trunk/bin/upgrading/s2layers/sup/layout.s2
Modified: trunk/bin/upgrading/s2layers/sup/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/sup/layout.s2	2012-02-03 11:58:18 UTC (rev 11403)
+++ trunk/bin/upgrading/s2layers/sup/layout.s2	2012-02-03 12:00:07 UTC (rev 11404)
@@ -784,12 +784,14 @@
 
     $p->print_head();
 
-    if ($*linked_stylesheet) {
-        print safe """\n    <link rel="stylesheet" type="text/css" href="$*linked_stylesheet" />""";
+    if (not $*old_s1) {
+        if ($*linked_stylesheet) {
+            print safe """\n    <link rel="stylesheet" type="text/css" href="$*linked_stylesheet" />""";
+        }
+        if ($*custom_css) {
+            print safe """\n    <style type="text/css">\n$*custom_css\n    </style>\n""";
+        }
     }
-    if ($*custom_css) {
-        print safe """\n    <style type="text/css">\n$*custom_css\n    </style>\n""";
-    }
 
     """\n</head>\n<body class="$*body_classes">""";
 }

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 

  • 1 comment