diff options
author | VirtualTam <virtualtam@flibidi.net> | 2015-11-27 00:10:43 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2015-11-27 00:10:43 +0100 |
commit | 4407b45fd3b09257ea79edba8d4f50db350f8fa9 (patch) | |
tree | 0604f1af0688325fc8871161a650a7a4ee22fe34 /tpl | |
parent | 1b740e3de39172975d0e755d9a089d2e9a44279d (diff) | |
download | Shaarli-4407b45fd3b09257ea79edba8d4f50db350f8fa9.tar.gz Shaarli-4407b45fd3b09257ea79edba8d4f50db350f8fa9.tar.zst Shaarli-4407b45fd3b09257ea79edba8d4f50db350f8fa9.zip |
application: default to the "stable" branch for update checks
Relates to #372
Relates to #390
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/page.footer.html | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tpl/page.footer.html b/tpl/page.footer.html index 6c29850f..b20aae54 100644 --- a/tpl/page.footer.html +++ b/tpl/page.footer.html | |||
@@ -4,8 +4,16 @@ | |||
4 | {$value} | 4 | {$value} |
5 | {/loop} | 5 | {/loop} |
6 | </div> | 6 | </div> |
7 | {if="$newversion"} | 7 | {if="$newVersion"} |
8 | <div id="newversion"><span id="version_id">●</span> Shaarli {$newversion} is <a href="https://github.com/shaarli/Shaarli/releases">available</a>.</div> | 8 | <div id="newversion"> |
9 | <span id="version_id">●</span> Shaarli {$newVersion} is | ||
10 | <a href="https://github.com/shaarli/Shaarli/releases">available</a>. | ||
11 | </div> | ||
12 | {/if} | ||
13 | {if="$versionError"} | ||
14 | <div id="newversion"> | ||
15 | Error: {$versionError} | ||
16 | </div> | ||
9 | {/if} | 17 | {/if} |
10 | {if="isLoggedIn()"} | 18 | {if="isLoggedIn()"} |
11 | <script>function confirmDeleteLink() { var agree=confirm("Are you sure you want to delete this link ?"); if (agree) return true ; else return false ; }</script> | 19 | <script>function confirmDeleteLink() { var agree=confirm("Are you sure you want to delete this link ?"); if (agree) return true ; else return false ; }</script> |