templates: make endpoint url clickable in log popup (#39564)

This commit is contained in:
Valentin Deniaud 2020-02-11 11:54:01 +01:00
parent d3051b50d7
commit c5a128a8ed
1 changed files with 7 additions and 1 deletions

View File

@ -7,7 +7,13 @@
<td>{% for key2, value2 in value.items %}
{{key2}}: {{value2|censor}}<br>
{% empty %}
{{value|censor|linebreaksbr}}
{% with val=value|censor %}
{% if key == 'connector_endpoint_url' %}
<a href="{{val}}">{{val}}</a>
{% else %}
{{val|linebreaksbr|urlize}}
{% endif %}
{% endwith %}
{% endfor %}</td>
</tr>
{% endfor %}