We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91e7b21 commit 5401a2fCopy full SHA for 5401a2f
templates/base/modal_actions_confirm.tmpl
@@ -4,7 +4,7 @@ Template Attributes:
4
5
Two buttons (negative, positive):
6
* ModalButtonTypes: "yes" (default) or "confirm"
7
-* ModalButtonColors: "green" (default) / "blue" / "yellow"
+* ModalButtonColors: "primary" (default) / "blue" / "yellow"
8
* ModalButtonCancelText
9
* ModalButtonOkText
10
@@ -26,7 +26,7 @@ The ".ok.button" and ".cancel.button" selectors are also used by Fomantic Modal
26
{{if .ModalButtonCancelText}}{{$textNegitive = .ModalButtonCancelText}}{{end}}
27
{{if .ModalButtonOkText}}{{$textPositive = .ModalButtonOkText}}{{end}}
28
29
- {{$stylePositive := "green"}}
+ {{$stylePositive := "primary"}}
30
{{if eq .ModalButtonColors "blue"}}
31
{{$stylePositive = "blue"}}
32
{{else if eq .ModalButtonColors "yellow"}}
0 commit comments