Implement links to wished item descriptions

newer-dal
LEdoian 4 years ago
parent aa1183b022
commit 17d6ae0066

@ -10,7 +10,11 @@
<ul> <ul>
{% for item in object_list %} {% for item in object_list %}
{# TODO: Implement checkboxes and hidden items #} {# TODO: Implement checkboxes and hidden items #}
{% if item.description %}
<li><a href="{{ item.get_absolute_url }}">{{ item }}</a>
{% else %}
<li>{{ item }} <li>{{ item }}
{% endif %}
{% endfor %} {% endfor %}
</ul> </ul>
{% else %} {% else %}

Loading…
Cancel
Save