Fix mirror page
authorAlexander Wirt <alexander.wirt@credativ.de>
Fri, 6 Sep 2013 08:19:29 +0000 (10:19 +0200)
committerAlexander Wirt <alexander.wirt@credativ.de>
Fri, 6 Sep 2013 08:19:29 +0000 (10:19 +0200)
download/mirrors/index.html.tt2

index 1999433..2ad0650 100644 (file)
                [% FOREACH mirror IN mirrors.$region.keys.sort %]
                <p>[% mirror %] ([% mirrors.$region.$mirror.location %])</p>
                [% FOREACH type IN [ 'grml-http' 'grml-rsync' 'grml-ftp' ] %]
+        [% NEXT UNLESS mirrors.$region.$mirror.$type %]
                <ul>
             <li><a href="[% type.substr(5) %]://[% mirror %]/[% mirrors.$region.$mirror.$type %]">
-                [% type.substr(5) %]://[% mirror %][% mirrors.$region.$mirror.$type %]
+                [% type.substr(5) %]://[% mirror %]/[% mirrors.$region.$mirror.$type %]
                 </a>
             </li>
                </ul>