Commit 2d77fed6 authored by Sean Arnold's avatar Sean Arnold

Use path to create URL

parent 62067564
......@@ -2,11 +2,15 @@
module IncidentManagement
class CreateIncidentSlaExceededLabelService < BaseService
def self.doc_url
Rails.application.routes.url_helpers.help_page_url('operations/incident_management/incidents', anchor: 'service-level-agreement-countdown-timer')
end
LABEL_PROPERTIES = {
title: 'missed::SLA',
color: '#D9534F',
description: <<~DESCRIPTION.chomp
Incidents that have missed the targeted SLA (Service Level Agreement). https://docs.gitlab.com/ee/operations/incident_management/incidents.html#service-level-agreement-countdown-timer
Incidents that have missed the targeted SLA (Service Level Agreement). #{doc_url}
DESCRIPTION
}.freeze
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment