only show if info present

This commit is contained in:
Matthias 2021-10-06 10:56:21 +02:00
parent eeeb69ce12
commit f07df107a9
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076
2 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,7 @@
<tr>
<td>{{ plugin.human_name }}<span class="text-muted"> - {{plugin_key}}</span>
{% define plugin.registered_mixins as mixin_list %}
{% if mixin_list %}
{% for mixin in mixin_list %}
<a class='nav-toggle' id='select-plugin-{{plugin_key}}'>

View File

@ -32,11 +32,13 @@
<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>
</tr>
{% endif %}
{% if plugin.website %}
<tr>
<td><span class='fas fa-globe'></span></td>