Display licenses of project

This commit is contained in:
Kristofers Solo 2023-04-07 14:32:36 +03:00
parent 022f4f8c9b
commit 3991385be7

View File

@ -14,6 +14,17 @@
<b>@{{ project.author.username }}</b>
<h5>{{ project.title }}</h5>
<p>{{ project.description }}</p>
<ul>
{% for license in project.license.all %}
<li>
<a href="{{ license.url }}">{{ license.short_name }}</a>
</li>
{% empty %}
<p>No license</p>
{% endfor %}
</ul>
<br>
<p>{{ project.create_date }}</p>
{% empty %}
<p>No projects yet (</p>
{% endfor %}