mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 09:51:22 -06:00
Closes #4382: Enable custom links for rack reservations
This commit is contained in:
parent
a9d04547d1
commit
7f5571200c
@ -9,6 +9,7 @@
|
||||
* [#4369](https://github.com/netbox-community/netbox/issues/4369) - Add a dedicated view for rack reservations
|
||||
* [#4380](https://github.com/netbox-community/netbox/issues/4380) - Enable webhooks for rack reservations
|
||||
* [#4381](https://github.com/netbox-community/netbox/issues/4381) - Enable export templates for rack reservations
|
||||
* [#4382](https://github.com/netbox-community/netbox/issues/4382) - Enable custom links for rack reservations
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
|
@ -739,7 +739,7 @@ class Rack(ChangeLoggedModel, CustomFieldModel):
|
||||
return 0
|
||||
|
||||
|
||||
@extras_features('export_templates', 'webhooks')
|
||||
@extras_features('custom_links', 'export_templates', 'webhooks')
|
||||
class RackReservation(ChangeLoggedModel):
|
||||
"""
|
||||
One or more reserved units within a Rack.
|
||||
|
@ -36,6 +36,9 @@
|
||||
</div>
|
||||
<h1>{% block title %}{{ rackreservation }}{% endblock %}</h1>
|
||||
{% include 'inc/created_updated.html' with obj=rackreservation %}
|
||||
<div class="pull-right noprint">
|
||||
{% custom_links rackreservation %}
|
||||
</div>
|
||||
<ul class="nav nav-tabs">
|
||||
<li role="presentation"{% if not active_tab %} class="active"{% endif %}>
|
||||
<a href="{{ rackreservation.get_absolute_url }}">Rack</a>
|
||||
|
Loading…
Reference in New Issue
Block a user