From 7c705536f585a88c40b8ad325649b5e35f82d526 Mon Sep 17 00:00:00 2001 From: Diana Whitten Date: Fri, 12 Feb 2016 08:49:57 -0700 Subject: [PATCH] Python table is returning invalid template name The data_table is looking for a template that doesn't exist. This has been fixed. partial-bug: #1544990 Closes-bug: #1531982 Change-Id: Id0c16aa26f18461a807166af2c5b347a130d72a8 --- horizon/tables/actions.py | 4 ++-- horizon/templates/horizon/common/_data_table_action.html | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/horizon/tables/actions.py b/horizon/tables/actions.py index 23e11d1dab..d9a2a136ec 100644 --- a/horizon/tables/actions.py +++ b/horizon/tables/actions.py @@ -368,8 +368,8 @@ class LinkAction(BaseAction): return "%s?%s" % (table_url, params) def render(self): - return render_to_string("horizon/common/_data_table_table_action.html", - {"action": self}) + return render_to_string("horizon/common/_data_table_action.html", + {"action": self, "is_single": True}) def associate_with_table(self, table): super(LinkAction, self).associate_with_table(table) diff --git a/horizon/templates/horizon/common/_data_table_action.html b/horizon/templates/horizon/common/_data_table_action.html index 3fe51eb182..7c6d4406a2 100644 --- a/horizon/templates/horizon/common/_data_table_action.html +++ b/horizon/templates/horizon/common/_data_table_action.html @@ -1,5 +1,4 @@ {% load horizon %} - {% minifyspace %} {% if action.method != "GET" %}