]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Theme: display shaarli version in the footer when logged in 815/head
authorArthurHoaro <arthur@hoa.ro>
Sun, 12 Mar 2017 13:52:44 +0000 (14:52 +0100)
committerArthurHoaro <arthur@hoa.ro>
Sun, 12 Mar 2017 13:52:44 +0000 (14:52 +0100)
Fixes #778

CHANGELOG.md
tpl/default/page.footer.html

index d9f2f4f3b781cf16fea74f7ad1292b10cacd996c..f0813b97eafa3714c42369b391143333c3d2266c 100644 (file)
@@ -25,6 +25,7 @@ Theming:
     - Introduce a new theme
     - Allow selecting themes/templates from the configuration page
     - New/Edit link form can be submitted using CTRL+Enter in the textarea
+    - Shaarli version is displayed in the footer when logged in 
 - Add plugin placeholders to Atom/RSS feed templates
 - Add OpenSearch to feed templates
 - Add `campaign_` to the URL cleanup pattern list
index f7b80b68647c14553d3415a70b94476bb64247aa..77fc65dd9630feef1520b28c43569f18d13f8b85 100644 (file)
@@ -3,7 +3,11 @@
 <div class="pure-g">
   <div class="pure-u-2-24"></div>
   <div id="footer" class="pure-u-20-24">
-    <strong><a href="https://github.com/shaarli/Shaarli">Shaarli</a></strong> &middot;
+    <strong><a href="https://github.com/shaarli/Shaarli">Shaarli</a></strong>
+    {if="isLoggedIn()===true"}
+      {$version}
+    {/if}
+    &middot;
     The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community &middot;
     <a href="doc/Home.html" rel="nofollow">Documentation</a>
       {loop="$plugins_footer.text"}