Skip to content

Commit

Permalink
Merge pull request #204 from mlebreuil/develop
Browse files Browse the repository at this point in the history
v2.2.11
  • Loading branch information
mlebreuil authored Jan 5, 2025
2 parents 28239a8 + 5b6575a commit 4942c68
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

## Version 2

### Version 2.2.11

* [202](https://github.com/mlebreuil/netbox-contract/issues/202) Fix django.template.exceptions when trying to open device detail.

### Version 2.2.10

* [198](https://github.com/mlebreuil/netbox-contract/issues/198) Add internationalization support and french translation.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "netbox-contract"
version = "2.2.10"
version = "2.2.11"
authors = [
{ name="Marc Lebreuil", email="[email protected]" },
]
Expand Down
2 changes: 1 addition & 1 deletion src/netbox_contract/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class ContractsConfig(PluginConfig):
name = 'netbox_contract'
verbose_name = 'Netbox contract'
description = 'Contract management plugin for Netbox'
version = '2.2.10'
version = '2.2.11'
author = 'Marc Lebreuil'
author_email = '[email protected]'
base_url = 'contracts'
Expand Down
2 changes: 1 addition & 1 deletion src/netbox_contract/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
default_dimensions = plugin_settings.get('default_accounting_dimensions')

# Dimensions
# Deprecated. To be removed in version 3.0
# Deprecated. To be removed in version 2.3.0


class Dimensions(JSONField):
Expand Down
2 changes: 1 addition & 1 deletion src/netbox_contract/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class Contract(NetBoxModel):
null=True,
blank=True,
verbose_name=_('accounting dimensions'),
help_text=_('This field is deprecated and will be removed in version 3'),
help_text=_('This field is deprecated and will be removed in version 2.3'),
)
yrc = models.DecimalField(
verbose_name=_('yearly recuring cost'),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% load render_table from django_tables2 %}
{% if perms.netbox_contract.view_contract %}
{% load i18n %}
<div class="row">
<div class="col col-md-12">
<div class="card">
Expand Down
1 change: 1 addition & 0 deletions src/netbox_contract/templates/contract_list_bottom.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% load render_table from django_tables2 %}
{% if perms.netbox_contract.view_contract %}
{% load i18n %}
<div class="row">
<div class="col col-md-12">
<div class="card">
Expand Down

0 comments on commit 4942c68

Please sign in to comment.