diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-03-12 16:10:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-12 16:10:15 +0100 |
commit | 5c0e68c07148014191270d7c82b800f0bdb9196e (patch) | |
tree | f7a4dde24d6fd223f466e4242e28410d75d22e80 | |
parent | 7fc5f07492b9bfe58cb33907ceb42e9bccd624ce (diff) | |
parent | 829419567781df1f64fb682aecceaf40a3f9f902 (diff) | |
download | Shaarli-5c0e68c07148014191270d7c82b800f0bdb9196e.tar.gz Shaarli-5c0e68c07148014191270d7c82b800f0bdb9196e.tar.zst Shaarli-5c0e68c07148014191270d7c82b800f0bdb9196e.zip |
Merge pull request #815 from ArthurHoaro/theme/display-version
Theme: display shaarli version in the footer when logged in
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | tpl/default/page.footer.html | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index d9f2f4f3..f0813b97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
@@ -25,6 +25,7 @@ Theming: | |||
25 | - Introduce a new theme | 25 | - Introduce a new theme |
26 | - Allow selecting themes/templates from the configuration page | 26 | - Allow selecting themes/templates from the configuration page |
27 | - New/Edit link form can be submitted using CTRL+Enter in the textarea | 27 | - New/Edit link form can be submitted using CTRL+Enter in the textarea |
28 | - Shaarli version is displayed in the footer when logged in | ||
28 | - Add plugin placeholders to Atom/RSS feed templates | 29 | - Add plugin placeholders to Atom/RSS feed templates |
29 | - Add OpenSearch to feed templates | 30 | - Add OpenSearch to feed templates |
30 | - Add `campaign_` to the URL cleanup pattern list | 31 | - Add `campaign_` to the URL cleanup pattern list |
diff --git a/tpl/default/page.footer.html b/tpl/default/page.footer.html index f7b80b68..77fc65dd 100644 --- a/tpl/default/page.footer.html +++ b/tpl/default/page.footer.html | |||
@@ -3,7 +3,11 @@ | |||
3 | <div class="pure-g"> | 3 | <div class="pure-g"> |
4 | <div class="pure-u-2-24"></div> | 4 | <div class="pure-u-2-24"></div> |
5 | <div id="footer" class="pure-u-20-24"> | 5 | <div id="footer" class="pure-u-20-24"> |
6 | <strong><a href="https://github.com/shaarli/Shaarli">Shaarli</a></strong> · | 6 | <strong><a href="https://github.com/shaarli/Shaarli">Shaarli</a></strong> |
7 | {if="isLoggedIn()===true"} | ||
8 | {$version} | ||
9 | {/if} | ||
10 | · | ||
7 | The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community · | 11 | The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community · |
8 | <a href="doc/Home.html" rel="nofollow">Documentation</a> | 12 | <a href="doc/Home.html" rel="nofollow">Documentation</a> |
9 | {loop="$plugins_footer.text"} | 13 | {loop="$plugins_footer.text"} |