diff --git a/sapl/templates/crud/detail_detail.html b/sapl/templates/crud/detail_detail.html index 006ec1b57..c72be069a 100644 --- a/sapl/templates/crud/detail_detail.html +++ b/sapl/templates/crud/detail_detail.html @@ -37,8 +37,11 @@

{{ column.verbose_name }}

-
{{ column.text|safe }}
-
+ {% if column.text|url %} +
{{ column.text|safe }}
+ {% else %} +
{{ column.text|safe }}
+ {% endif %}
{% endfor %} diff --git a/sapl/templates/crud/list.html b/sapl/templates/crud/list.html index d89caab5d..0d71b7760 100644 --- a/sapl/templates/crud/list.html +++ b/sapl/templates/crud/list.html @@ -60,7 +60,11 @@ {% if href %} {{ value|safe }} {% elif valu != 'core.Cep.None' %} - {{ value|safe }} + {% if value|url %} + {{ value|safe }} + {% else %} + {{ value|safe }} + {% endif %} {% endif %} {% endfor %}