Merge pull request #815 from ArthurHoaro/theme/display-version

Theme: display shaarli version in the footer when logged in
This commit is contained in:
ArthurHoaro 2017-03-12 16:10:15 +01:00 committed by GitHub
commit 5c0e68c071
2 changed files with 6 additions and 1 deletions

View file

@ -25,6 +25,7 @@ Theming:
- Introduce a new theme - Introduce a new theme
- Allow selecting themes/templates from the configuration page - Allow selecting themes/templates from the configuration page
- New/Edit link form can be submitted using CTRL+Enter in the textarea - 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 plugin placeholders to Atom/RSS feed templates
- Add OpenSearch to feed templates - Add OpenSearch to feed templates
- Add `campaign_` to the URL cleanup pattern list - Add `campaign_` to the URL cleanup pattern list

View file

@ -3,7 +3,11 @@
<div class="pure-g"> <div class="pure-g">
<div class="pure-u-2-24"></div> <div class="pure-u-2-24"></div>
<div id="footer" class="pure-u-20-24"> <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; The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community &middot;
<a href="doc/Home.html" rel="nofollow">Documentation</a> <a href="doc/Home.html" rel="nofollow">Documentation</a>
{loop="$plugins_footer.text"} {loop="$plugins_footer.text"}