Forráskód Böngészése

Fix pagination markup, fixes #913

Jordi Boggiano 6 éve
szülő
commit
c33516bf78

+ 4 - 4
src/Packagist/WebBundle/Resources/views/macros.html.twig

@@ -41,11 +41,11 @@
                 </div>
             </li>
         {% endfor %}
-
-        {% if paginate is defined and paginate and packages.haveToPaginate() %}
-            {{ pagerfanta(packages, 'twitter_bootstrap', {'proximity': 2}) }}
-        {% endif %}
     </ul>
+
+    {% if paginate is defined and paginate and packages.haveToPaginate() %}
+        {{ pagerfanta(packages, 'twitter_bootstrap', {'proximity': 2}) }}
+    {% endif %}
 {% endmacro %}
 
 {% macro listPackagesShort(packages, showVersion, showMoreUrl) %}