Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_type_selector.html.haml « form « issuable « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0bcdcb9e963b142d6fa000bc235f2d656c5f3ca9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- return unless issuable.supports_issue_type? && can?(current_user, :create_issue, @project)

.form-group
  = form.label :type do
    = _('Type')
    #js-type-popover

  .issuable-form-select-holder.form-group.gl-mb-0.gl-display-block
    #js-type-select{ data: issuable_type_selector_data(issuable) }

  - if issuable.incident_type_issue?
    %p.form-text.text-muted
      - incident_docs_url = help_page_path('operations/incident_management/incidents.md')
      - incident_docs_start = format('<a href="%{url}" target="_blank" rel="noopener noreferrer">', url: incident_docs_url)
      = format(_('A %{incident_docs_start}modified issue%{incident_docs_end} to guide the resolution of incidents.'), incident_docs_start: incident_docs_start, incident_docs_end: '</a>').html_safe