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:
parent
2123c1a6f1
commit
e5f5a0a593
|
@ -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 %}
|
||||
|
||||
|
||||
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue