Fix item link styling on search results
This commit is contained in:
parent
be8a95685e
commit
60ec3238ff
|
@ -9,8 +9,10 @@
|
||||||
{% for parent in item.get_ancestors %}
|
{% for parent in item.get_ancestors %}
|
||||||
{{ parent.name }} »
|
{{ parent.name }} »
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
<a href="{{ item.get_absolute_url }}">{{ item.name }}</a>
|
||||||
|
{% else %}
|
||||||
<a href="{{ item.get_absolute_url }}" style="display: block">{{ item.name }}</a>
|
<a href="{{ item.get_absolute_url }}" style="display: block">{{ item.name }}</a>
|
||||||
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% empty %}
|
{% empty %}
|
||||||
|
|
Loading…
Reference in New Issue