Merge branch 'master' into next
[Sone.git] / src / main / resources / templates / rescue.html
1 <%include include/head.html>
2
3 <h1><%= Page.Rescue.Page.Title|l10n 0=currentSone.niceName|html></h1>
4
5 <p><%= Page.Rescue.Text.Description|l10n|html></p>
6 <p><%= Page.Rescue.Text.Procedure|l10n|html></p>
7
8 <%if soneRescuer.fetching>
9         <p><%= Page.Rescue.Text.Fetching|l10n 0=soneRescuer.currentEdition|html></p>
10 <%else>
11         <%if soneRescuer.hasNextEdition>
12                 <%if soneRescuer.lastFetchSuccessful>
13                         <p><%= Page.Rescue.Text.Fetched|l10n 0=soneRescuer.currentEdition|html></p>
14                 <%else>
15                         <p><%= Page.Rescue.Text.NotFetched|l10n 0=soneRescuer.currentEdition|html></p>
16                 <%/if>
17                 <form action="rescue.html" method="post">
18                         <input type="hidden" name="formPassword" value="<%formPassword|html>" />
19                         <label><%= Page.Rescue.Label.NextEdition|l10n|html></label>
20                         <input type="field" name="edition" value="<%soneRescuer.nextEdition>" />
21                         <button type="submit" name="fetch" value="true"><%= Page.Rescue.Button.Fetch|l10n|html></button>
22                 </form>
23         <%else>
24                 <%if soneRescuer.lastFetchSuccessful>
25                         <p><%= Page.Rescue.Text.Fetched|l10n 0=soneRescuer.currentEdition|html></p>
26                 <%else>
27                         <p><%= Page.Rescue.Text.FetchedLast|l10n|html></p>
28                 <%/if>
29         <%/if>
30 <%/if>
31
32 <%include include/tail.html>