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> <tr>
<td>{{ plugin.human_name }}<span class="text-muted"> - {{plugin_key}}</span> <td>{{ plugin.human_name }}<span class="text-muted"> - {{plugin_key}}</span>
{% define plugin.registered_mixins as mixin_list %} {% define plugin.registered_mixins as mixin_list %}
{% if mixin_list %} {% if mixin_list %}
{% for mixin in mixin_list %} {% for mixin in mixin_list %}
<a class='nav-toggle' id='select-plugin-{{plugin_key}}'> <a class='nav-toggle' id='select-plugin-{{plugin_key}}'>

View File

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