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:
parent
6872355d17
commit
7c705536f5
|
@ -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)
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{% load horizon %}
|
||||
|
||||
{% minifyspace %}
|
||||
{% if action.method != "GET" %}
|
||||
<button {{ action.attr_string_nc|safe }}
|
||||
|
|
Loading…
Reference in New Issue