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

add more attributes to the site

This commit is contained in:
Matthias Mair 2023-01-24 09:31:54 +01:00
parent 8295d64115
commit 13a60fce7c
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A

View File

@ -14,8 +14,23 @@ fullwith: true
</div> </div>
<div class="w-full md:w-1/4"> <div class="w-full md:w-1/4">
<h2 class="block sm:hidden">Link section</h2> <h2 class="block sm:hidden">Detail section</h2>
<div> <div>
<p>License:
{% if page.open_source %}<i class="fa-brands fa-osi"></i>{% else %}<i class="fa-solid fa-lock"></i>{% endif %}
{{ page.license }}<br>
Status:
{% if page.stable %}<i class="fa-regular fa-circle-check"></i> Stable{% else %}<i class="fa-solid fa-triangle-exclamation"></i> Unstable{% endif %}
{% if page.maintained %}<i class="fa-regular fa-circle-check"></i> Maintained{% else %}<i class="fa-solid fa-circle-exclamation"></i> Unmaintained{% endif %}
</p>
{% if page.issue_tracker %}
<a href="{{ page.issue_tracker }}" class="no-underline" aria-label="open the issue tracker">
<div>
<h4 class="fst-italic">Issue Tracker</h4>
</div>
</a>
{% endif %}
{% if page.github %} {% if page.github %}
<a href="{{ page.github }}" class="no-underline" aria-label="open source on GitHub"> <a href="{{ page.github }}" class="no-underline" aria-label="open source on GitHub">
@ -33,7 +48,6 @@ fullwith: true
</div> </div>
</a> </a>
{% endif %} {% endif %}
{% if page.source %} {% if page.source %}
<a href="{{ page.source }}" class="no-underline" aria-label="open source on SCM"> <a href="{{ page.source }}" class="no-underline" aria-label="open source on SCM">
<div> <div>