debian-mirror-gitlab/app/views/shared/milestones/_description.html.haml

14 lines
833 B
Text
Raw Normal View History

2023-05-27 22:25:52 +05:30
.detail-page-description.milestone-detail.gl-py-5
2020-11-24 15:15:51 +05:30
%h2.gl-m-0{ data: { qa_selector: "milestone_title_content" } }
2019-12-26 22:10:19 +05:30
= markdown_field(milestone, :title)
2023-03-17 16:20:25 +05:30
.gl-font-sm.gl-text-secondary.gl-font-base.gl-font-weight-normal.gl-line-height-normal{ data: { qa_selector: 'milestone_id_content' }, itemprop: 'identifier' }
- if can?(current_user, :read_milestone, @milestone)
%span.gl-display-inline-block.gl-vertical-align-middle
= s_('MilestonePage|Milestone ID: %{milestone_id}') % { milestone_id: @milestone.id }
= clipboard_button(title: s_('MilestonePage|Copy milestone ID'), text: @milestone.id)
2019-12-26 22:10:19 +05:30
- if milestone.try(:description).present?
2020-07-28 23:09:34 +05:30
%div{ data: { qa_selector: "milestone_description_content" } }
2023-05-27 22:25:52 +05:30
.description.md.gl-px-0.gl-pt-4
2019-12-26 22:10:19 +05:30
= markdown_field(milestone, :description)