журнал (shhh) wrote in changelog,
журнал
shhh
changelog

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

Committer: nnikulochkina
LJSUP-13769: S2 styles Journal Promo block
U   trunk/bin/upgrading/s2layers/sup/layout.s2
Modified: trunk/bin/upgrading/s2layers/sup/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/sup/layout.s2	2012-09-26 11:33:10 UTC (rev 12695)
+++ trunk/bin/upgrading/s2layers/sup/layout.s2	2012-09-26 13:34:58 UTC (rev 12696)
@@ -1466,16 +1466,13 @@
 
     }
 
-    var bool promo = true;
-
     foreach var Entry e ($.entries) {
         _print_entry($e);
-
-        if ($promo) {
-            _journalpromo();
-            $promo = false;
-        }
+        _journalpromo();
     }
+        
+    _journalpromo();
+        
     if ($.nav.backward_url != "" or $.nav.forward_url != "") {
 """
                 <ul class="page-nav">

Tags: ljcom, nikulochkina, nnikulochkina, 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