Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
foreman_notification_send
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LiU IT - Infrastructure
foreman_notification_send
Commits
dbf33b13
Verified
Commit
dbf33b13
authored
6 years ago
by
Alexander Olofsson
Browse files
Options
Downloads
Patches
Plain Diff
Change to phone-friendly emojis for notifications
parent
72251fdf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/models/concerns/foreman_notification_send/notification_extensions.rb
+4
-4
4 additions, 4 deletions
...erns/foreman_notification_send/notification_extensions.rb
with
4 additions
and
4 deletions
app/models/concerns/foreman_notification_send/notification_extensions.rb
+
4
−
4
View file @
dbf33b13
...
...
@@ -17,13 +17,13 @@ module ForemanNotificationSend
def
level_to_symbol
case
notification_blueprint
.
level
when
'success'
'
✅
'
'
✔️
'
when
'info'
'
🛈
'
'
ℹ️
'
when
'warning'
'⚠'
'⚠
️
'
else
'
❓
'
'
❔
'
end
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment