Skip to content

Commit

Permalink
HTML Email: Handle old floating_graph option
Browse files Browse the repository at this point in the history
Change-Id: I40c108bf0432da281cc2624350d61b89fd3d80dd
  • Loading branch information
makanakoeln committed Oct 1, 2024
1 parent 1cff44c commit ed2a596
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cmk/gui/wato/_notification_parameter/_mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def _url_prefix_setting(self, is_cse: bool) -> dict[str, DictElement[Any]]:
group=DictGroup(
title=Title("Settings"),
),
# TODO only option that crashes from old configs, getting {"automatic": "http"}
parameter_form=CascadingSingleChoice(
title=Title("URL prefix for links to Checkmk"),
help_text=Help(
Expand Down Expand Up @@ -314,6 +315,15 @@ def _content_elements() -> dict[str, DictElement[Any]]:
),
),
),
"no_floating_graphs": DictElement(
group=DictGroup(
title=Title("Email body/content"),
),
parameter_form=FixedValue(
value=True,
),
render_only=True,
),
}


Expand Down

0 comments on commit ed2a596

Please sign in to comment.