Add table_actions_menu for Environments Table
Now there are too many actions for the Environments table, we can use table_actions_menu fuction to add some of the actions to the More Actions menu, this can reduce the lenth of the table actions. Change-Id: If1dd94f737f2e893e5d40492b1f8a65d5fc81d36
This commit is contained in:
parent
0f21fc1fba
commit
c5a7fa2f4f
@ -521,9 +521,10 @@ class EnvironmentsTable(tables.DataTable):
|
||||
row_class = UpdateEnvironmentRow
|
||||
status_columns = ['status']
|
||||
no_data_message = _('NO ENVIRONMENTS')
|
||||
table_actions_menu = (AbandonEnvironment,
|
||||
DeploymentHistory)
|
||||
table_actions = (CreateEnvironment, DeployEnvironment,
|
||||
DeleteEnvironment, AbandonEnvironment,
|
||||
DeploymentHistory)
|
||||
DeleteEnvironment)
|
||||
row_actions = (ShowEnvironmentServices, DeployEnvironment,
|
||||
DeleteEnvironment, AbandonEnvironment,
|
||||
UpdateEnvMetadata)
|
||||
|
Loading…
x
Reference in New Issue
Block a user