application: default to the "stable" branch for update checks

Relates to 
Relates to 

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
This commit is contained in:
VirtualTam 2015-11-27 00:10:43 +01:00
parent 1b740e3de3
commit 4407b45fd3
4 changed files with 55 additions and 21 deletions

View file

@ -4,8 +4,16 @@
{$value}
{/loop}
</div>
{if="$newversion"}
<div id="newversion"><span id="version_id">&#x25CF;</span> Shaarli {$newversion} is <a href="https://github.com/shaarli/Shaarli/releases">available</a>.</div>
{if="$newVersion"}
<div id="newversion">
<span id="version_id">&#x25CF;</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>