2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-28 05:26:44 +00:00

only show link if present

This commit is contained in:
Matthias Mair 2022-04-22 23:31:13 +02:00
parent 6b3a4a6fa9
commit 1d07f93b37

View File

@ -24,7 +24,9 @@
<p class="leading-relaxed text-base">{{ item.text }}
{% if include.extend and item.extend %}<br><br>{{ item.extend }}{% endif %}
</p>
{% if item.link %}
<a class="text-secondary inline-flex items-center" href="{% include fnc/link.html item=item.link %}" alt="learn more">Learn More {% include fnc/learn_more.html %}</a>
{% endif %}
</div>
</div>
{% endfor %}