forked from wallabag/wallabag
Added check if there is only one user
Added translations and documentation
This commit is contained in:
committed by
Jeremy Benoist
parent
abb5291cd5
commit
bb0c78f4a6
@ -148,6 +148,9 @@
|
||||
|
||||
{{ form_widget(form.user._token) }}
|
||||
{{ form_widget(form.user.save) }}
|
||||
{% if enabled_users > 1 %}
|
||||
<a class='btn red' href='{{ path('delete_account') }}'>{{ 'config.form_user.delete_account' | trans }}</a>
|
||||
{% endif %}
|
||||
</form>
|
||||
|
||||
<h2>{{ 'config.tab_menu.password'|trans }}</h2>
|
||||
|
||||
@ -167,7 +167,10 @@
|
||||
{{ form_widget(form.user.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }}
|
||||
{{ form_widget(form.user._token) }}
|
||||
</form>
|
||||
<a class='btn red' href='{{ path('delete_account') }}'>{{ 'config.user.delete_account' | trans }}</a>
|
||||
|
||||
{% if enabled_users > 1 %}
|
||||
<a class='btn red' href='{{ path('delete_account') }}'>{{ 'config.form_user.delete_account' | trans }}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div id="set4" class="col s12">
|
||||
|
||||
Reference in New Issue
Block a user