aboutsummaryrefslogtreecommitdiffstats
path: root/root/html/pages/mirrors/mirror.tt
blob: dad43c2814c9698c9de8b6574b8c412b990b47ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<h1>Mirror: [% hostname %]<h1>

<h2>Host information</h2>

[% INCLUDE 'host_information.tt' 
    action = c.uri_for(hostname)
%]

<h2>URLs to the distribution</h2>

[% FOREACH u = c.model('Mirrors').find_urls({ hostname => hostname }) %]
[% IF loop.first %]
<ul>
[% END %]
<li><a href="[% u.url %]">[% u.url | html %]</a></li>
[% IF loop.last %]
</ul>
[% END %]
[% END %]