mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
fix escape in admin connected-user
This commit is contained in:
@@ -94,7 +94,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
{% for session in data['sessions'] %}
|
{% for session in data['sessions'] %}
|
||||||
{% set row = session['session'] %}
|
{% set row = session['session'] %}
|
||||||
<tr title="{{ _self.tooltip_connected_users(row) | raw }}" class="{% if loop.index is odd %}odd{% else %}even{% endif %} usrTips" id="TREXP_{{ row.getId()}}">
|
<tr title="{{ _self.tooltip_connected_users(row) | e }}" class="{% if loop.index is odd %}odd{% else %}even{% endif %} usrTips" id="TREXP_{{ row.getId()}}">
|
||||||
|
|
||||||
{% if row.getId() == app['session'].get('session_id') %}
|
{% if row.getId() == app['session'].get('session_id') %}
|
||||||
<td style="color:#ff0000"><i>{{ row.getUser().getDisplayName() }}</i></td>
|
<td style="color:#ff0000"><i>{{ row.getUser().getDisplayName() }}</i></td>
|
||||||
|
Reference in New Issue
Block a user