show info if no version exists

Fixes #2295
This commit is contained in:
Matthias 2021-11-11 23:32:22 +01:00
parent 99f65d242e
commit 689b414d62
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -32,13 +32,17 @@
<td>{% trans "Date" %}</td>
<td>{{ plugin.pub_date }}{% include "clip.html" %}</td>
</tr>
{% if plugin.version %}
<tr>
<td><span class='fas fa-hashtag'></span></td>
<td>{% trans "Version" %}</td>
<td>{{ plugin.version }}{% include "clip.html" %}</td>
<td>
{% if plugin.version %}
{{ plugin.version }}{% include "clip.html" %}
{% else %}
{% trans 'no version information supplied' %}
{% endif %}
</td>
</tr>
{% endif %}
{% if plugin.website %}
<tr>
<td><span class='fas fa-globe'></span></td>