Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
8a02fa76
Commit
8a02fa76
authored
Jan 10, 2020
by
Danilo Bargen
Committed by
Marcus Efraimsson
Jan 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ThreemaNotifier: Use fully qualified status emoji (#21305)
parent
673ccdc4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
pkg/services/alerting/notifiers/threema.go
+3
-3
No files found.
pkg/services/alerting/notifiers/threema.go
View file @
8a02fa76
...
...
@@ -132,11 +132,11 @@ func (notifier *ThreemaNotifier) Notify(evalContext *alerting.EvalContext) error
stateEmoji
:=
""
switch
evalContext
.
Rule
.
State
{
case
models
.
AlertStateOK
:
stateEmoji
=
"
\u2705
"
//
White Heavy Check Mark
stateEmoji
=
"
\u2705
"
//
Check Mark Button
case
models
.
AlertStateNoData
:
stateEmoji
=
"
\u2753
"
// Black Question Mark Ornament
stateEmoji
=
"
\u2753
\uFE0F
"
// Question Mark
case
models
.
AlertStateAlerting
:
stateEmoji
=
"
\u26A0
"
// Warning sign
stateEmoji
=
"
\u26A0
\uFE0F
"
// Warning sign
}
// Build message
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment