mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-08 16:48:16 -06:00
14731 cleanup detail view
This commit is contained in:
parent
d2945c9cac
commit
a2b86c5e15
@ -32,6 +32,7 @@ From
|
|||||||
{% trans "Overview" %}
|
{% trans "Overview" %}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
{% if not plugin.is_local %}
|
||||||
<li class="nav-item" role="presentation">
|
<li class="nav-item" role="presentation">
|
||||||
<button class="nav-link" id="version-history-tab" data-bs-toggle="tab" data-bs-target="#version-history" type="button" role="tab" aria-controls="object-list" aria-selected="false">
|
<button class="nav-link" id="version-history-tab" data-bs-toggle="tab" data-bs-target="#version-history" type="button" role="tab" aria-controls="object-list" aria-selected="false">
|
||||||
{% trans "Version history" %}
|
{% trans "Version history" %}
|
||||||
@ -42,6 +43,7 @@ From
|
|||||||
{% trans "Install" %}
|
{% trans "Install" %}
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
{% endblock tabs %}
|
{% endblock tabs %}
|
||||||
@ -52,6 +54,7 @@ From
|
|||||||
<div class="tab-pane show active" id="overview" role="tabpanel" aria-labelledby="overview-tab">
|
<div class="tab-pane show active" id="overview" role="tabpanel" aria-labelledby="overview-tab">
|
||||||
{{ plugin.description_short }}
|
{{ plugin.description_short }}
|
||||||
</div>
|
</div>
|
||||||
|
{% if not plugin.is_local %}
|
||||||
<div class="tab-pane" id="version-history" role="tabpanel" aria-labelledby="version-history-tab">
|
<div class="tab-pane" id="version-history" role="tabpanel" aria-labelledby="version-history-tab">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
|
|
||||||
@ -85,4 +88,5 @@ python3 /opt/netbox/netbox/netbox/manage.py collectstatic
|
|||||||
sudo systemctl restart netbox netbox-rq
|
sudo systemctl restart netbox netbox-rq
|
||||||
</code></pre>
|
</code></pre>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
Loading…
Reference in New Issue
Block a user