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
This commit is contained in:
Diana Whitten 2016-02-12 08:49:57 -07:00
parent 6872355d17
commit 7c705536f5
2 changed files with 2 additions and 3 deletions

View File

@ -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)

View File

@ -1,5 +1,4 @@
{% load horizon %}
{% minifyspace %}
{% if action.method != "GET" %}
<button {{ action.attr_string_nc|safe }}