diff --git a/watcher_dashboard/content/actions/tables.py b/watcher_dashboard/content/actions/tables.py index 62e64c9..c1951e7 100644 --- a/watcher_dashboard/content/actions/tables.py +++ b/watcher_dashboard/content/actions/tables.py @@ -61,15 +61,6 @@ class ActionsFilterAction(horizon.tables.FilterAction): policy_rules = (("infra-optim", "action:detail"),) -def get_next_action_uuid_link(datum): - try: - return urlresolvers.reverse( - "horizon:admin:actions:detail", - kwargs={"action_uuid": getattr(datum, "next_uuid", None)}) - except urlresolvers.NoReverseMatch: - return None - - def get_action_plan_link(datum): try: return urlresolvers.reverse( @@ -97,10 +88,6 @@ class ActionsTable(horizon.tables.DataTable): 'action_plan_uuid', verbose_name=_('Action Plan'), link=get_action_plan_link) - next_action = horizon.tables.Column( - 'next_uuid', - verbose_name=_('Next Action'), - link=get_next_action_uuid_link) def get_object_id(self, datum): return datum.uuid @@ -130,10 +117,6 @@ class RelatedActionsTable(horizon.tables.DataTable): 'action_plan_uuid', verbose_name=_('Action Plan'), link=get_action_plan_link) - next_action = horizon.tables.Column( - 'next_uuid', - verbose_name=_('Next Action'), - link=get_next_action_uuid_link) def get_object_id(self, datum): return datum.uuid diff --git a/watcher_dashboard/templates/infra_optim/actions/details.html b/watcher_dashboard/templates/infra_optim/actions/details.html index a425880..39330f9 100644 --- a/watcher_dashboard/templates/infra_optim/actions/details.html +++ b/watcher_dashboard/templates/infra_optim/actions/details.html @@ -20,9 +20,6 @@
{{ action.action_plan_uuid|default:_("—") }}
- {% url 'horizon:admin:actions:detail' action.next_uuid as next_action_url %} -
{% trans "Next Action" %}
-
{{ action.next_uuid|default:_("—") }}
{% trans "State" %}
{{ action.state|default:"—" }}
{% trans "Created At" %}