summaryrefslogtreecommitdiff
path: root/app/models/issuable_severity.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/issuable_severity.rb')
-rw-r--r--app/models/issuable_severity.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/models/issuable_severity.rb b/app/models/issuable_severity.rb
index 928301e1da6..cd7e5fafb60 100644
--- a/app/models/issuable_severity.rb
+++ b/app/models/issuable_severity.rb
@@ -3,18 +3,18 @@
class IssuableSeverity < ApplicationRecord
DEFAULT = 'unknown'
SEVERITY_LABELS = {
- unknown: 'Unknown',
- low: 'Low - S4',
- medium: 'Medium - S3',
- high: 'High - S2',
+ unknown: 'Unknown',
+ low: 'Low - S4',
+ medium: 'Medium - S3',
+ high: 'High - S2',
critical: 'Critical - S1'
}.freeze
SEVERITY_QUICK_ACTION_PARAMS = {
- unknown: %w(Unknown 0),
- low: %w(Low S4 4),
- medium: %w(Medium S3 3),
- high: %w(High S2 2),
+ unknown: %w(Unknown 0),
+ low: %w(Low S4 4),
+ medium: %w(Medium S3 3),
+ high: %w(High S2 2),
critical: %w(Critical S1 1)
}.freeze