Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.1.0 - Update for 3.1.2 #8

Merged
merged 2 commits into from
Jan 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ A collection of plugin extensions for netbox, including generic wrappers around

### Compatibility Matrix

| | Netbox 2.10 | Netbox 2.11 | Netbox 3.0 | Netbox 3.1 |
|-----------------------|------------|------------|-------------|-------------|
| <1.0.4 | X | | | |
| 1.0.5 | X | X | | |
| 1.0.6 | X | X | X | X |
| 2.0.0 | | | | X |
| | Netbox 2.10 | Netbox 2.11 | Netbox 3.0 | Netbox 3.1.0-1 | Netbox 3.1.2> |
|--------|-------------|-------------|-------------|-----------------|---------------|
| <1.0.4 | X | | | | |
| 1.0.5 | X | X | | | |
| 1.0.6 | X | X | X | X | |
| 1.0.9 | | | X | X | |
| 1.1.0 | | | | | X |

### Installation

Expand Down
2 changes: 1 addition & 1 deletion netbox_plugin_extensions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class NetboxPluginExtensions(PluginConfig):
author = plugin.get('Author')
author_email = plugin.get('Author-email')
base_url = 'netbox-plugin-extensions'
min_version = '3.0'
min_version = '3.1'
required_settings = []
caching_config = {}
default_settings = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,25 @@
{% load plugin_buttons %}

{% block header %}
{# Breadcrumbs #}
<nav class="breadcrumb-container px-3" aria-label="breadcrumb">
<ol class="breadcrumb">
{% block breadcrumbs %}
<li class="breadcrumb-item"><a href="{% url object|plugin_viewname:'list' %}">{{ object|meta:'verbose_name_plural'|bettertitle }}</a></li>
{% endblock %}
</ol>
</nav>
<div class="d-flex justify-content-between align-items-center">
{# Breadcrumbs #}
<nav class="breadcrumb-container px-3" aria-label="breadcrumb">
<ol class="breadcrumb">
{% block breadcrumbs %}
<li class="breadcrumb-item"><a href="{% url object|plugin_viewname:'list' %}">{{ object|meta:'verbose_name_plural'|bettertitle }}</a></li>
{% endblock %}
</ol>
</nav>
{# Object identifier #}
<div class="float-end px-3">
<code class="text-muted">
{% block object_identifier %}
{{ object|meta:"app_label" }}.{{ object|meta:"model_name" }}:{{ object.pk }}
{% if object.slug %}({{ object.slug }}){% endif %}
{% endblock object_identifier %}
</code>
</div>
</div>
{{ block.super }}
{% endblock %}

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading