sunnyman's (sunnyman) wrote in changelog,
sunnyman's
sunnyman
changelog

[ljcom] r11853: LJSUP-11372: Develop regional self promo...

Committer: vtroitsky
LJSUP-11372: Develop regional self promo for Ukraine. Template fixed.
U   trunk/templates/Shop/SelfPromo.tmpl
Modified: trunk/templates/Shop/SelfPromo.tmpl
===================================================================
--- trunk/templates/Shop/SelfPromo.tmpl	2012-04-27 14:04:11 UTC (rev 11852)
+++ trunk/templates/Shop/SelfPromo.tmpl	2012-04-27 14:22:46 UTC (rev 11853)
@@ -25,14 +25,14 @@
             <li><a href="<TMPL_VAR self_uri>?type=community&country=<TMPL_VAR country>"><TMPL_VAR expr="ml('/shop/selfpromo.bml.tab.community')"></a></li>
         </TMPL_IF>
     </ul>
+<TMPL_IF is_regional_promos>
     <ul class="b-shop-promo-switcher">
         <li>
-            <TMPL_IF is_regional_promos>
-                <TMPL_IF EXPR="country eq 'ua'">
-                    <strong><TMPL_VAR expr="ml('/shop/selfpromo.bml.ratings.view.ua')"></strong>
-                   <TMPL_ELSE>
-                       <a href="<TMPL_VAR self_uri>?type=<TMPL_VAR type>&country=ua" title="<TMPL_VAR expr="ml('/shop/selfpromo.bml.ratings.view.ua.description')">"><TMPL_VAR expr="ml('/shop/selfpromo.bml.ratings.view.ua')"></a>
-                </TMPL_IF>
+            <TMPL_IF EXPR="country eq 'ua'">
+                <strong><TMPL_VAR expr="ml('/shop/selfpromo.bml.ratings.view.ua')"></strong>
+            <TMPL_ELSE>
+                <a href="<TMPL_VAR self_uri>?type=<TMPL_VAR type>&country=ua" title="<TMPL_VAR expr="ml('/shop/selfpromo.bml.ratings.view.ua.description')">"><TMPL_VAR expr="ml('/shop/selfpromo.bml.ratings.view.ua')"></a>
+            </TMPL_IF>
         </li>
         <li>
             <TMPL_IF EXPR="country eq 'ua'">
@@ -42,6 +42,7 @@
             </TMPL_IF>
         </li>
     </ul>
+</TMPL_IF>
 </div>
 	<TMPL_INCLUDE name="templates/Shop/Error.tmpl">
 	<div id="selfpromo-preview-errors" style="display: none;" class="errorbar"></div>

Tags: ljcom, sunnyman, tmpl, vtroitsky
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