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

[ljcom] r12701: LJSUP-13769: S2 styles Journal Promo blo...

Committer: esavintcev
LJSUP-13769: S2 styles Journal Promo block
U   trunk/bin/upgrading/s2layers/smoothsailing/layout.s2
Modified: trunk/bin/upgrading/s2layers/smoothsailing/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/smoothsailing/layout.s2	2012-09-27 13:18:55 UTC (rev 12700)
+++ trunk/bin/upgrading/s2layers/smoothsailing/layout.s2	2012-09-28 08:56:14 UTC (rev 12701)
@@ -1351,6 +1351,13 @@
      }
   """; }
 
+  """
+  /* LJSUP-13769 */
+  .appwidget-journalpromo {
+    margin: 12px 0 10px;
+    }
+  """;
+
   print_custom_control_strip_css();
 }
 
@@ -2326,6 +2333,10 @@
       var Entry e = $.entries[$pos];
       $this->print_entry($e);
       print_ebox($e);
+
+      #LJSUP-13769
+      $this->render_journalpromo();
+
     }
   }
 }
@@ -2339,6 +2350,10 @@
       var Entry e = $.entries[($*layout_friends_sortorder=="newest"?$pos:$i-$pos)];
       $this->print_entry($e);
       print_ebox($e);
+
+      #LJSUP-13769
+      $this->render_journalpromo();
+
     }
   }
 }
@@ -2352,6 +2367,10 @@
       var Entry e = $.entries[($*layout_day_sortorder=="newest"?$i-$pos:$pos)];
       $this->print_entry($e);
       print_ebox($e);
+
+      #LJSUP-13769
+      $this->render_journalpromo();
+
     }
   }
 }
@@ -2372,6 +2391,10 @@
       $this->lay_print_bodytitlebox($*text_reply_form,"midtitle",$*text_addcomment_id);
     }
     print_ebox($.entry);
+
+      #LJSUP-13769
+    $this->render_journalpromo();
+
     """
     <a name="replyform"></a>""";
     if ($.replyto.depth==0 and int($*layout_guestbook_entryid)!=0  and (not $.entry.delayed) and $.entry.itemid!=int($*layout_guestbook_entryid) and $*text_replypage_warning!="") {
@@ -2387,6 +2410,10 @@
 function EntryPage::print_body() {
    $this->print_entry($.entry);
    print_ebox($.entry);
+
+   #LJSUP-13769
+   $this->render_journalpromo();
+
    if (size $.comments >0) {
 
       if (($.entry.itemid!=int($*layout_guestbook_entryid)) or ($.entry.delayed)) {

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