Merge #15768 - clickable user names in user accounts overview
Pull-request: #15768 Closes: #12726 Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
commit
43af2b6b01
@ -32,7 +32,15 @@
|
||||
{% if host.user is empty %}
|
||||
<span class="text-danger">{% trans 'Any' %}</span>
|
||||
{% else %}
|
||||
{{ host.user }}
|
||||
<a class="edit_user_anchor" href="{{ url('/server/privileges', {
|
||||
'username': host.user,
|
||||
'hostname': host.host,
|
||||
'dbname': '',
|
||||
'tablename': '',
|
||||
'routinename': '',
|
||||
}) }}">
|
||||
{{ host.user }}
|
||||
</a>
|
||||
{% endif %}
|
||||
</label>
|
||||
</td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user