🐛 Show correct edition after failed fetch
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 4 Nov 2019 20:53:26 +0000 (21:53 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 4 Nov 2019 20:53:26 +0000 (21:53 +0100)
src/main/resources/templates/rescue.html

index d711881..ae87d0a 100644 (file)
@@ -12,7 +12,7 @@
                <%if soneRescuer.lastFetchSuccessful>
                        <p><%= Page.Rescue.Text.Fetched|l10n 0=soneRescuer.currentEdition|html></p>
                <%else>
-                       <p><%= Page.Rescue.Text.NotFetched|l10n 0=soneRescuer.currentEdition|html></p>
+                       <p><%= Page.Rescue.Text.NotFetched|l10n 0=soneRescuer.nextEdition|html></p>
                <%/if>
                <form action="rescue.html" method="post">
                        <input type="hidden" name="formPassword" value="<%formPassword|html>" />