Change Patches Tab to Releases Tab

This is part of the changes required to implement USM in GUI (Horizon).

In order to improve the user experience, some labels have been modified
as part of the USM integration.

Change-Id: I37a93300ebd09b4feec4e2aa66890d9c5b86ac24
This commit is contained in:
Italo Lemos 2024-03-26 15:47:28 -03:00 committed by Italo Lemos
parent 2123c1a6f1
commit e5f5a0a593
2 changed files with 21 additions and 21 deletions

View File

@ -1,20 +1,20 @@
{% load i18n sizeformat %}
{% block main %}
<div id="patches">
<div id="patching-status" class="info details">
<span>
{% if patch_current %}
<span class="badge badge-success">{% trans "System is Patch Current" %}</span>
{% else %}
<span class="badge badge-warning">{% trans "System is Not Patch Current" %}</span>
{% endif %}
</span>
</div>
{{ patches_table.render }}
</div>
{% endblock %}
{% load i18n sizeformat %}
{% block main %}
<div id="patches">
<div id="patching-status" class="info details">
<span>
{% if patch_current %}
<span class="badge badge-success">{% trans "System is Patch Current" %}</span>
{% else %}
<span class="badge badge-warning">{% trans "System is Not Patch Current" %}</span>
{% endif %}
</span>
</div>
{{ patches_table.render }}
</div>
{% endblock %}

View File

@ -21,7 +21,7 @@ class PatchesTab(tabs.TableTab):
table_classes = (tables.PatchesTable,)
name = _("Patches")
slug = "patches"
template_name = ("dc_admin/dc_software_management/_patches.html")
template_name = ("dc_admin/dc_software_management/_releases.html")
preload = False
def get_dc_patches_data(self):