Alexander Nazarov (nfokz) wrote in changelog,
Alexander Nazarov
nfokz
changelog

[ljcom] r12282: LJSUP-12959: Fix warnings in DomainRu te...

Committer: anazarov
LJSUP-12959: Fix warnings in DomainRu templates
U   trunk/templates/Shop/DomainRU.tmpl
Modified: trunk/templates/Shop/DomainRU.tmpl
===================================================================
--- trunk/templates/Shop/DomainRU.tmpl	2012-07-13 08:10:20 UTC (rev 12281)
+++ trunk/templates/Shop/DomainRU.tmpl	2012-07-13 08:10:44 UTC (rev 12282)
@@ -76,25 +76,31 @@
             <li class="b-buy-goods-item<TMPL_IF EXPR="type ne 'buy'"> current</TMPL_IF>">
                 <div class="b-buy-intro">
                     <table class="b-domainru-domains">
-                        <TMPL_LOOP domains>
-                            <tr>
-                                <td class="b-domainru-domains-user">
-                                    <TMPL_VAR auth_display>
-                                </td>
-                                <td class="b-domainru-domains-domain">
-                                    <p class="b-domainru-domains-domain-container"><a href="http://<TMPL_VAR dom><TMPL_VAR expr="ml('shop.view.domainru.url')">" target="_blank"><TMPL_VAR dom><TMPL_VAR expr="ml('shop.view.domainru.url')"></a></p>
-                                </td>
-                                <td class="b-domainru-domains-remove">
-                                    <a href="?type=manage&amp;delete=1&amp;auth=<TMPL_VAR auth>&amp;dom=<TMPL_VAR dom>" 
-                                       title="<TMPL_VAR expr="ml('shop.view.domainru.remove')">"
-                                       class="b-domainru-remove"
-                                       data-domain="<TMPL_VAR dom>"
-                                       data-user="<TMPL_VAR auth>">
-                                        <i class="b-domainru-remove-icon"></i><TMPL_VAR expr="ml('shop.view.domainru.remove')">
-                                    </a>
-                                </td>
-                            </tr>
-                        </TMPL_LOOP>
+                        <TMPL_IF domains>
+                            <TMPL_LOOP domains>
+                                <tr>
+                                    <td class="b-domainru-domains-user">
+                                        <TMPL_VAR auth_display>
+                                    </td>
+                                    <td class="b-domainru-domains-domain">
+                                        <p class="b-domainru-domains-domain-container"><!--
+                                            --><a href="http://<TMPL_VAR dom><TMPL_VAR expr="ml('shop.view.domainru.url')">" target="_blank"><!--
+                                                --><TMPL_VAR dom><TMPL_VAR expr="ml('shop.view.domainru.url')"><!--
+                                            --></a><!--
+                                        --></p>
+                                    </td>
+                                    <td class="b-domainru-domains-remove">
+                                        <a href="?type=manage&amp;delete=1&amp;auth=<TMPL_VAR auth>&amp;dom=<TMPL_VAR dom>" 
+                                           title="<TMPL_VAR expr="ml('shop.view.domainru.remove')">"
+                                           class="b-domainru-remove"
+                                           data-domain="<TMPL_VAR dom>"
+                                           data-user="<TMPL_VAR auth>">
+                                            <i class="b-domainru-remove-icon"></i><TMPL_VAR expr="ml('shop.view.domainru.remove')">
+                                        </a>
+                                    </td>
+                                </tr>
+                            </TMPL_LOOP>
+                        </TMPL_IF>
                     </table>
                 </div>
             </li>

Tags: anazarov, ljcom, nfokz, 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