Made Username in User Account Overview Clickable

Signed-off-by: Manthan Surkar <manthan.surkar@gmail.com>
This commit is contained in:
thesmallstar 2020-01-09 20:19:01 +05:30 committed by Manthan Surkar
parent 5f36cd8aec
commit ff3dc96edb

View File

@ -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>