mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
only show if info present
This commit is contained in:
parent
eeeb69ce12
commit
f07df107a9
@ -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}}'>
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user