Render the resolve attribute not the literal

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2018-12-24 02:45:05 -04:00
parent 4a0e9ffa15
commit b848737515
2 changed files with 2 additions and 2 deletions

View File

@@ -75,7 +75,7 @@
{% get_source_columns source=object only_identifier=True as source_column %} {% get_source_columns source=object only_identifier=True as source_column %}
{% source_column_resolve column=source_column as column_value %} {% source_column_resolve column=source_column as column_value %}
{% if source_column.is_absolute_url %} {% if source_column.is_absolute_url %}
<a href="{{ object.get_absolute_url }}">{{ column_value }}</a> <a href="{{ column_value.get_absolute_url }}">{{ column_value }}</a>
{% else %} {% else %}
{{ column_value }} {{ column_value }}
{% endif %} {% endif %}

View File

@@ -108,7 +108,7 @@
{% if column_value %} {% if column_value %}
<td> <td>
{% if source_column.is_absolute_url %} {% if source_column.is_absolute_url %}
<a href="{{ object.get_absolute_url }}">{{ column_value }}</a> <a href="{{ column_value.get_absolute_url }}">{{ column_value }}</a>
{% else %} {% else %}
{{ column_value }} {{ column_value }}
{% endif %} {% endif %}