Skip to content

Commit

Permalink
Merge pull request #18050 from kamil-tekiela/Twig-whitespace
Browse files Browse the repository at this point in the history
Remove newlines in Twig
  • Loading branch information
MauricioFauth committed Jan 31, 2023
2 parents 6303a23 + 5f00976 commit eb1ba4c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions templates/server/privileges/user_overview.twig
@@ -1,31 +1,31 @@
<div class="row">
<div class="col-12">
<h2>
{{ get_icon('b_usrlist') }}
{{- get_icon('b_usrlist') -}}
{% trans 'User accounts overview' %}
</h2>
</div>
</div>

{{ error_messages|raw }}
{{- error_messages|raw -}}

{{ empty_user_notice|raw }}
{{- empty_user_notice|raw -}}

{{ initials|raw }}
{{- initials|raw -}}

{% if users_overview is not empty %}
{{ users_overview|raw }}
{{- users_overview|raw -}}
{% elseif is_createuser %}
<div class="row">
<div class="col-12">
<fieldset class="pma-fieldset" id="fieldset_add_user">
<legend>{% trans %}New{% context %}Create new user{% endtrans %}</legend>
<a id="add_user_anchor" href="{{ url('/server/privileges', {'adduser': true}) }}">
{{ get_icon('b_usradd', 'Add user account'|trans) }}
{{- get_icon('b_usradd', 'Add user account'|trans) -}}
</a>
</fieldset>
</div>
</div>
{% endif %}

{{ flush_notice|raw }}
{{- flush_notice|raw -}}

0 comments on commit eb1ba4c

Please sign in to comment.