Commit 66d34c5f authored by Takuya Noguchi's avatar Takuya Noguchi

Remove .issue-box element from Epics (list)

This is a single-line change.
Signed-off-by: default avatarTakuya Noguchi <takninnovationresearch@gmail.com>
parent 3e4c5ee1
%li{ id: dom_id(epic), data: { labels: epic.label_ids, id: epic.id } } %li{ id: dom_id(epic), data: { labels: epic.label_ids, id: epic.id } }
.issue-box .issuable-info-container
- if @can_bulk_update - if @can_bulk_update
.issue-check.hidden .issue-check.hidden
= check_box_tag dom_id(epic, "selected"), nil, false, 'data-id' => epic.id, class: "selected-issuable" = check_box_tag dom_id(epic, "selected"), nil, false, 'data-id' => epic.id, class: "selected-issuable"
.issuable-info-container .issuable-main-info
.issuable-main-info .issue-title.title
.issue-title.title %span.issue-title-text{ data: { qa_selector: 'epic_title_text' } }
%span.issue-title-text{ data: { qa_selector: 'epic_title_text' } } - if epic.confidential?
- if epic.confidential? %span.has-tooltip{ title: _('Confidential') }
%span.has-tooltip{ title: _('Confidential') } = confidential_icon(epic)
= confidential_icon(epic) = link_to epic.title, epic_path(epic)
= link_to epic.title, epic_path(epic) .issuable-info
.issuable-info %span.issuable-reference
%span.issuable-reference = epic.to_reference(@group)
= epic.to_reference(@group) %span.issuable-authored.d-none.d-sm-inline-block
%span.issuable-authored.d-none.d-sm-inline-block &middot;
&middot; opened #{time_ago_with_tooltip(epic.created_at, placement: 'bottom')}
opened #{time_ago_with_tooltip(epic.created_at, placement: 'bottom')} by #{link_to_member(@group, epic.author, avatar: false)}
by #{link_to_member(@group, epic.author, avatar: false)} = gitlab_team_member_badge(epic.author)
= gitlab_team_member_badge(epic.author) - if epic.start_date? || epic.end_date?
- if epic.start_date? || epic.end_date? &nbsp;
&nbsp; %span.issuable-dates.d-inline-flex.align-items-center.align-top
%span.issuable-dates.d-inline-flex.align-items-center.align-top = sprite_icon('calendar', size: 14, css_class: 'mr-1')
= sprite_icon('calendar', size: 14, css_class: 'mr-1') %span= epic_timeframe(epic)
%span= epic_timeframe(epic) - if epic.labels.any?
- if epic.labels.any? &nbsp;
&nbsp; - epic.labels.each do |label|
- epic.labels.each do |label| = render_label(label.present(issuable_subject: @group), tooltip: true, link: group_epics_path(@group, label_name:[label.name]), small: true)
= render_label(label.present(issuable_subject: @group), tooltip: true, link: group_epics_path(@group, label_name:[label.name]), small: true)
.issuable-meta .issuable-meta
%ul.controls %ul.controls
- if epic.closed? - if epic.closed?
%li.issuable-status %li.issuable-status
= _('CLOSED') = _('CLOSED')
= render 'shared/issuable_meta_data', issuable: epic = render 'shared/issuable_meta_data', issuable: epic
.float-right.issuable-updated-at.d-none.d-sm-inline-block .float-right.issuable-updated-at.d-none.d-sm-inline-block
%span %span
= _('updated %{time_ago}').html_safe % { time_ago: time_ago_with_tooltip(epic.updated_at, placement: 'bottom', html_class: 'issue_update_ago') } = _('updated %{time_ago}').html_safe % { time_ago: time_ago_with_tooltip(epic.updated_at, placement: 'bottom', html_class: 'issue_update_ago') }
---
title: Remove .issue-box element from Epics (list)
merge_request: 48000
author: Takuya Noguchi
type: performance
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