make urls clickable dynamic_mirror
authorAlexander Wirt <formorer@debian.org>
Tue, 10 Jan 2012 08:51:31 +0000 (09:51 +0100)
committerAlexander Wirt <formorer@debian.org>
Tue, 10 Jan 2012 08:51:31 +0000 (09:51 +0100)
download/mirrors/index.html.tt2

index b1fa3c8..556fe82 100644 (file)
                <p>[% mirror %] ([% mirrors.$region.$mirror.location %])</p>
                [% FOREACH type IN [ 'grml-http' 'grml-rsync' 'grml-ftp' ] %]
                <ul>
-                       <li>[% type.substr(5) %]://[% mirror %][% mirrors.$region.$mirror.$type %]</li>
+            <li><a href="[% type.substr(5) %]://[% mirror %][ mirrors.$region.$mirror.$type %]">
+                [% type.substr(5) %]://[% mirror %][ mirrors.$region.$mirror.$type %]
+                </a>
+            </li>
                </ul>
                [% END %]
                [% END %]