aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-09-08 14:07:36 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-10-08 13:27:18 +0200
commitbb0c78f4a636fcc8f60dd3b42ad733e7f31e0bb4 (patch)
treec9209d37cf5db197e2fa45e7164b55af7a92e374 /src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig
parentabb5291cd5dc98211273e5d3b516a6a0ed8b980f (diff)
downloadwallabag-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/material/Config/index.html.twig')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig
index cebde1ac..5aa3eabe 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig
@@ -167,7 +167,10 @@
167 {{ form_widget(form.user.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }} 167 {{ form_widget(form.user.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }}
168 {{ form_widget(form.user._token) }} 168 {{ form_widget(form.user._token) }}
169 </form> 169 </form>
170 <a class='btn red' href='{{ path('delete_account') }}'>{{ 'config.user.delete_account' | trans }}</a> 170
171 {% if enabled_users > 1 %}
172 <a class='btn red' href='{{ path('delete_account') }}'>{{ 'config.form_user.delete_account' | trans }}</a>
173 {% endif %}
171 </div> 174 </div>
172 175
173 <div id="set4" class="col s12"> 176 <div id="set4" class="col s12">