diff --git a/horizon/dashboards/nova/instances/tables.py b/horizon/dashboards/nova/instances/tables.py index f42d191ad..bf3310a69 100644 --- a/horizon/dashboards/nova/instances/tables.py +++ b/horizon/dashboards/nova/instances/tables.py @@ -157,9 +157,9 @@ class EditInstance(tables.LinkAction): classes = ("ajax-modal", "btn-edit") -class SnapshotLink(tables.LinkAction): +class CreateSnapshot(tables.LinkAction): name = "snapshot" - verbose_name = _("Snapshot") + verbose_name = _("Create Snapshot") url = "horizon:nova:images_and_snapshots:snapshots:create" classes = ("ajax-modal", "btn-camera") @@ -293,6 +293,6 @@ class InstancesTable(tables.DataTable): status_columns = ["status", "task"] row_class = UpdateRow table_actions = (LaunchLink, TerminateInstance) - row_actions = (SnapshotLink, AssociateIP, EditInstance, ConsoleLink, + row_actions = (CreateSnapshot, AssociateIP, EditInstance, ConsoleLink, LogLink, TogglePause, ToggleSuspend, RebootInstance, TerminateInstance) diff --git a/horizon/dashboards/syspanel/instances/tables.py b/horizon/dashboards/syspanel/instances/tables.py index 62f097f60..749442889 100644 --- a/horizon/dashboards/syspanel/instances/tables.py +++ b/horizon/dashboards/syspanel/instances/tables.py @@ -23,7 +23,7 @@ from django.utils.translation import ugettext_lazy as _ from horizon import api from horizon import tables from horizon.dashboards.nova.instances.tables import (TerminateInstance, - EditInstance, ConsoleLink, LogLink, SnapshotLink, + EditInstance, ConsoleLink, LogLink, CreateSnapshot, TogglePause, ToggleSuspend, RebootInstance, get_size, UpdateRow, LaunchLink, get_ips, get_power_state) from horizon.utils.filters import replace_underscores @@ -97,6 +97,6 @@ class SyspanelInstancesTable(tables.DataTable): status_columns = ["status", "task"] table_actions = (AdminLaunchLink, TerminateInstance,) row_class = AdminUpdateRow - row_actions = (EditInstance, ConsoleLink, LogLink, SnapshotLink, + row_actions = (EditInstance, ConsoleLink, LogLink, CreateSnapshot, TogglePause, ToggleSuspend, RebootInstance, TerminateInstance)