]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/page.footer.html
application: default to the "stable" branch for update checks
[github/shaarli/Shaarli.git] / tpl / page.footer.html
index 6c29850ffe2ba3af06a031c13b4527223950880a..b20aae540adab9b9c6d7ca277ac342dc06ef3524 100644 (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>