application: default to the "stable" branch for update checks
Relates to #372 Relates to #390 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
This commit is contained in:
parent
1b740e3de3
commit
4407b45fd3
4 changed files with 55 additions and 21 deletions
|
@ -4,8 +4,16 @@
|
|||
{$value}
|
||||
{/loop}
|
||||
</div>
|
||||
{if="$newversion"}
|
||||
<div id="newversion"><span id="version_id">●</span> Shaarli {$newversion} is <a href="https://github.com/shaarli/Shaarli/releases">available</a>.</div>
|
||||
{if="$newVersion"}
|
||||
<div id="newversion">
|
||||
<span id="version_id">●</span> Shaarli {$newVersion} is
|
||||
<a href="https://github.com/shaarli/Shaarli/releases">available</a>.
|
||||
</div>
|
||||
{/if}
|
||||
{if="$versionError"}
|
||||
<div id="newversion">
|
||||
Error: {$versionError}
|
||||
</div>
|
||||
{/if}
|
||||
{if="isLoggedIn()"}
|
||||
<script>function confirmDeleteLink() { var agree=confirm("Are you sure you want to delete this link ?"); if (agree) return true ; else return false ; }</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue