mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-28 11:47:35 +02:00
#20923: Initial work on migrating the core app
This commit is contained in:
11
netbox/templates/core/panels/objectchange_related.html
Normal file
11
netbox/templates/core/panels/objectchange_related.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{% load i18n %}
|
||||
{% include 'inc/panel_table.html' with table=related_changes_table heading='Related Changes' panel_class='default' %}
|
||||
{% if related_changes_count > related_changes_table.rows|length %}
|
||||
<div class="float-end">
|
||||
<a href="{% url 'core:objectchange_list' %}?request_id={{ object.request_id }}" class="btn btn-primary">
|
||||
{% blocktrans trimmed with count=related_changes_count|add:"1" %}
|
||||
See All {{ count }} Changes
|
||||
{% endblocktrans %}
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user