Skip to content
Snippets Groups Projects
Verified Commit 82582c6c authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Merge remote-tracking branch 'origin/master' into 10-button-create-live-document-does-nothing

parents 3d8b1038 7ed0d381
No related branches found
No related tags found
1 merge request!36Resolve "Button "Create live document" does nothing"
Pipeline #49590 failed
......@@ -17,6 +17,7 @@ Added
Fixed
~~~~~
* Live documents table showed two "Actions" columns.
* Button for creation of live documents was there even if there weren't any live document types registered.
`2.0`_ - 2021-12-27
......
......@@ -19,14 +19,14 @@ class LiveDocumentTable(Table):
args=[A("id")],
text=_("Edit"),
attrs={"a": {"class": "btn-flat waves-effect waves-orange orange-text"}},
verbose_name=_("Actions"),
verbose_name=_("Edit"),
)
delete = LinkColumn(
"delete_live_document",
args=[A("id")],
text=_("Delete"),
attrs={"a": {"class": "btn-flat waves-effect waves-red red-text"}},
verbose_name=_("Actions"),
verbose_name=_("Delete"),
)
def render_document_name(self, value, record):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment