summaryrefslogtreecommitdiff
path: root/ishtar_common/models_common.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models_common.py')
-rw-r--r--ishtar_common/models_common.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py
index dee43d6f8..ed2d46305 100644
--- a/ishtar_common/models_common.py
+++ b/ishtar_common/models_common.py
@@ -3404,6 +3404,7 @@ class MainItem(ShortMenuItem, SerializeItem, SheetItem):
[
action.base_url,
mark_safe(action.text),
+ action.btn_class,
mark_safe(action.rendered_icon),
action.target or "",
action.is_popup,
@@ -4233,6 +4234,7 @@ class QuickAction:
rights=None,
module=None,
is_popup=True,
+ btn_class="btn-success"
):
self.url = url
self.icon_class = icon_class
@@ -4241,6 +4243,7 @@ class QuickAction:
self.target = target
self.module = module
self.is_popup = is_popup
+ self.btn_class = btn_class
if self.target not in ("one", "many", None):
raise AttributeError("target must be one, many or None")