mirror of
https://github.com/thelounge/thelounge
synced 2024-11-27 06:20:26 +00:00
28 lines
632 B
Smarty
28 lines
632 B
Smarty
|
{{#equal status "loading"}}
|
||
|
<p>
|
||
|
Checking for updates...
|
||
|
</p>
|
||
|
{{else equal status "new-version"}}
|
||
|
<p>
|
||
|
The Lounge <b>{{latest.version}}</b>{{#if latest.prerelease}} (pre-release){{/if}}
|
||
|
is now available.
|
||
|
<br>
|
||
|
|
||
|
<a href="{{latest.url}}" target="_blank" rel="noopener">
|
||
|
Read more on GitHub
|
||
|
</a>
|
||
|
</p>
|
||
|
{{else equal status "up-to-date"}}
|
||
|
<p>
|
||
|
The Lounge is up to date!
|
||
|
</p>
|
||
|
|
||
|
<button id="check-now" class="btn btn-small">Check now</button>
|
||
|
{{else equal status "error"}}
|
||
|
<p>
|
||
|
Information about latest releases could not be retrieved.
|
||
|
</p>
|
||
|
|
||
|
<button id="check-now" class="btn btn-small">Try again</button>
|
||
|
{{/equal}}
|