diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-09-08 14:07:36 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-10-08 13:27:18 +0200 |
commit | bb0c78f4a636fcc8f60dd3b42ad733e7f31e0bb4 (patch) | |
tree | c9209d37cf5db197e2fa45e7164b55af7a92e374 /src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config | |
parent | abb5291cd5dc98211273e5d3b516a6a0ed8b980f (diff) | |
download | wallabag-bb0c78f4a636fcc8f60dd3b42ad733e7f31e0bb4.tar.gz wallabag-bb0c78f4a636fcc8f60dd3b42ad733e7f31e0bb4.tar.zst wallabag-bb0c78f4a636fcc8f60dd3b42ad733e7f31e0bb4.zip |
Added check if there is only one user
Added translations and documentation
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig index ff7ef73a..29575272 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig | |||
@@ -148,6 +148,9 @@ | |||
148 | 148 | ||
149 | {{ form_widget(form.user._token) }} | 149 | {{ form_widget(form.user._token) }} |
150 | {{ form_widget(form.user.save) }} | 150 | {{ form_widget(form.user.save) }} |
151 | {% if enabled_users > 1 %} | ||
152 | <a class='btn red' href='{{ path('delete_account') }}'>{{ 'config.form_user.delete_account' | trans }}</a> | ||
153 | {% endif %} | ||
151 | </form> | 154 | </form> |
152 | 155 | ||
153 | <h2>{{ 'config.tab_menu.password'|trans }}</h2> | 156 | <h2>{{ 'config.tab_menu.password'|trans }}</h2> |