Commit c6c118dc authored by Takuya Noguchi's avatar Takuya Noguchi

Remove .issue-box element from Requirements (list)

This is a single-line change.
Signed-off-by: default avatarTakuya Noguchi <takninnovationresearch@gmail.com>
parent 3e4c5ee1
...@@ -85,74 +85,72 @@ export default { ...@@ -85,74 +85,72 @@ export default {
:class="{ 'disabled-content': stateChangeRequestActive, 'gl-bg-blue-50': active }" :class="{ 'disabled-content': stateChangeRequestActive, 'gl-bg-blue-50': active }"
@click="$emit('show-click', requirement)" @click="$emit('show-click', requirement)"
> >
<div class="issue-box"> <div class="issuable-info-container">
<div class="issuable-info-container"> <span class="issuable-reference text-muted d-none d-sm-block mr-2">{{ reference }}</span>
<span class="issuable-reference text-muted d-none d-sm-block mr-2">{{ reference }}</span> <div class="issuable-main-info">
<div class="issuable-main-info"> <span class="issuable-reference text-muted d-block d-sm-none">{{ reference }}</span>
<span class="issuable-reference text-muted d-block d-sm-none">{{ reference }}</span> <div class="issue-title title">
<div class="issue-title title"> <span class="issue-title-text">{{ requirement.title }}</span>
<span class="issue-title-text">{{ requirement.title }}</span> </div>
</div> <div class="issuable-info d-none d-sm-inline-block">
<div class="issuable-info d-none d-sm-inline-block"> <span class="issuable-authored">
<span class="issuable-authored">
<span
v-gl-tooltip:tooltipcontainer.bottom
:title="tooltipTitle(requirement.createdAt)"
>{{ createdAtFormatted }}</span
>
{{ __('by') }}
<gl-link ref="authorLink" class="author-link js-user-link" :href="author.webUrl">
<span class="author">{{ author.name }}</span>
</gl-link>
</span>
<span <span
v-gl-tooltip:tooltipcontainer.bottom v-gl-tooltip:tooltipcontainer.bottom
:title="tooltipTitle(requirement.updatedAt)" :title="tooltipTitle(requirement.createdAt)"
class="issuable-updated-at" >{{ createdAtFormatted }}</span
>&middot; {{ updatedAtFormatted }}</span
> >
</div> {{ __('by') }}
<gl-link ref="authorLink" class="author-link js-user-link" :href="author.webUrl">
<span class="author">{{ author.name }}</span>
</gl-link>
</span>
<span
v-gl-tooltip:tooltipcontainer.bottom
:title="tooltipTitle(requirement.updatedAt)"
class="issuable-updated-at"
>&middot; {{ updatedAtFormatted }}</span
>
</div>
<requirement-status-badge
v-if="testReport"
:test-report="testReport"
:last-test-report-manually-created="requirement.lastTestReportManuallyCreated"
class="d-block d-sm-none"
/>
</div>
<div class="d-flex">
<ul v-if="showIssuableMetaActions" class="controls flex-column flex-sm-row">
<requirement-status-badge <requirement-status-badge
v-if="testReport" v-if="testReport"
:test-report="testReport" :test-report="testReport"
:last-test-report-manually-created="requirement.lastTestReportManuallyCreated" :last-test-report-manually-created="requirement.lastTestReportManuallyCreated"
class="d-block d-sm-none" element-type="li"
class="d-none d-sm-block"
/> />
</div> <li v-if="canUpdate && !isArchived" class="requirement-edit d-sm-block">
<div class="d-flex"> <gl-button
<ul v-if="showIssuableMetaActions" class="controls flex-column flex-sm-row"> v-gl-tooltip
<requirement-status-badge icon="pencil"
v-if="testReport" :title="__('Edit')"
:test-report="testReport" @click="$emit('edit-click', requirement)"
:last-test-report-manually-created="requirement.lastTestReportManuallyCreated"
element-type="li"
class="d-none d-sm-block"
/> />
<li v-if="canUpdate && !isArchived" class="requirement-edit d-sm-block"> </li>
<gl-button <li v-if="canArchive && !isArchived" class="requirement-archive d-sm-block">
v-gl-tooltip <gl-button
icon="pencil" v-if="!stateChangeRequestActive"
:title="__('Edit')" v-gl-tooltip
@click="$emit('edit-click', requirement)" icon="archive"
/> :loading="stateChangeRequestActive"
</li> :title="__('Archive')"
<li v-if="canArchive && !isArchived" class="requirement-archive d-sm-block"> @click.stop="handleArchiveClick"
<gl-button />
v-if="!stateChangeRequestActive" </li>
v-gl-tooltip <li v-if="canArchive && isArchived" class="requirement-reopen d-sm-block">
icon="archive" <gl-button :loading="stateChangeRequestActive" @click="handleReopenClick">{{
:loading="stateChangeRequestActive" __('Reopen')
:title="__('Archive')" }}</gl-button>
@click.stop="handleArchiveClick" </li>
/> </ul>
</li>
<li v-if="canArchive && isArchived" class="requirement-reopen d-sm-block">
<gl-button :loading="stateChangeRequestActive" @click="handleReopenClick">{{
__('Reopen')
}}</gl-button>
</li>
</ul>
</div>
</div> </div>
</div> </div>
<gl-popover :target="getAuthorPopoverTarget()" triggers="hover focus" placement="top"> <gl-popover :target="getAuthorPopoverTarget()" triggers="hover focus" placement="top">
......
---
title: Remove .issue-box element from Requirements (list)
merge_request: 48001
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