Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
24e3992e
Commit
24e3992e
authored
Sep 27, 2021
by
Coung Ngo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete related issues CSS
Delete unused CSS and convert CSS to utility classes where possible
parent
b5247dec
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
2 additions
and
53 deletions
+2
-53
app/assets/javascripts/related_issues/components/related_issues_block.vue
...cripts/related_issues/components/related_issues_block.vue
+1
-1
app/assets/javascripts/related_issues/components/related_issues_list.vue
...scripts/related_issues/components/related_issues_list.vue
+1
-5
app/views/projects/issues/_related_issues.html.haml
app/views/projects/issues/_related_issues.html.haml
+0
-1
app/views/projects/issues/_related_issues_block.html.haml
app/views/projects/issues/_related_issues_block.html.haml
+0
-5
ee/app/assets/stylesheets/pages/issues/related_issues.scss
ee/app/assets/stylesheets/pages/issues/related_issues.scss
+0
-40
ee/app/views/projects/issues/_related_issues.html.haml
ee/app/views/projects/issues/_related_issues.html.haml
+0
-1
No files found.
app/assets/javascripts/related_issues/components/related_issues_block.vue
View file @
24e3992e
...
@@ -123,7 +123,7 @@ export default {
...
@@ -123,7 +123,7 @@ export default {
</
script
>
</
script
>
<
template
>
<
template
>
<div
id=
"related-issues"
class=
"related-issues-block"
>
<div
id=
"related-issues"
class=
"related-issues-block
gl-mt-5
"
>
<div
class=
"card card-slim gl-overflow-hidden"
>
<div
class=
"card card-slim gl-overflow-hidden"
>
<div
<div
:class=
"
{ 'panel-empty-heading border-bottom-0': !hasBody }"
:class=
"
{ 'panel-empty-heading border-bottom-0': !hasBody }"
...
...
app/assets/javascripts/related_issues/components/related_issues_list.vue
View file @
24e3992e
...
@@ -97,11 +97,7 @@ export default {
...
@@ -97,11 +97,7 @@ export default {
class=
"related-issues-token-body bordered-box bg-white"
class=
"related-issues-token-body bordered-box bg-white"
:class=
"
{ 'sortable-container': canReorder }"
:class=
"
{ 'sortable-container': canReorder }"
>
>
<div
<div
v-if=
"isFetching"
class=
"gl-mb-2"
data-qa-selector=
"related_issues_loading_placeholder"
>
v-if=
"isFetching"
class=
"related-issues-loading-icon"
data-qa-selector=
"related_issues_loading_placeholder"
>
<gl-loading-icon
<gl-loading-icon
ref=
"loadingIcon"
ref=
"loadingIcon"
size=
"sm"
size=
"sm"
...
...
app/views/projects/issues/_related_issues.html.haml
View file @
24e3992e
...
@@ -3,4 +3,3 @@
...
@@ -3,4 +3,3 @@
can_add_related_issues:
"#{can?(current_user, :admin_issue_link, @issue)}"
,
can_add_related_issues:
"#{can?(current_user, :admin_issue_link, @issue)}"
,
help_path:
help_page_path
(
'user/project/issues/related_issues'
),
help_path:
help_page_path
(
'user/project/issues/related_issues'
),
show_categorized_issues:
"false"
}
}
show_categorized_issues:
"false"
}
}
-
render
(
'projects/issues/related_issues_block'
)
app/views/projects/issues/_related_issues_block.html.haml
deleted
100644 → 0
View file @
b5247dec
.related-issues-block
.card.card-slim
.card-header.panel-empty-heading.border-bottom-0
%h3
.card-title.mt-0.mb-0.h5
=
_
(
'Linked issues'
)
ee/app/assets/stylesheets/pages/issues/related_issues.scss
View file @
24e3992e
$token-spacing-bottom
:
0
.5em
;
.related-issues-block
{
margin-top
:
3
*
$gl-vert-padding
;
}
.related-issues-header-help-icon
{
margin-left
:
0
.25em
;
color
:
$gl-text-color-secondary
;
}
.related-issues-token-body
{
.related-issues-token-body
{
padding
:
0
;
li
.issuable-info-container
{
padding-left
:
$gl-padding
;
@include
media-breakpoint-down
(
md
)
{
padding-left
:
$gl-padding-8
;
}
}
a
.issuable-main-info
:hover
{
a
.issuable-main-info
:hover
{
text-decoration
:
none
;
text-decoration
:
none
;
...
@@ -29,25 +8,6 @@ $token-spacing-bottom: 0.5em;
...
@@ -29,25 +8,6 @@ $token-spacing-bottom: 0.5em;
}
}
}
}
.related-issues-loading-icon
{
margin-bottom
:
$token-spacing-bottom
;
line-height
:
1
.75
;
}
.related-issues-token-list
{
display
:
flex
;
flex-wrap
:
wrap
;
margin-bottom
:
0
;
padding-left
:
0
;
list-style
:
none
;
}
.related-issues-token-list-item
{
max-width
:
100%
;
margin-bottom
:
$token-spacing-bottom
;
margin-right
:
5px
;
}
.issue-token-end
{
.issue-token-end
{
order
:
1
;
order
:
1
;
}
}
...
...
ee/app/views/projects/issues/_related_issues.html.haml
View file @
24e3992e
...
@@ -3,4 +3,3 @@
...
@@ -3,4 +3,3 @@
can_add_related_issues:
"#{can?(current_user, :admin_issue_link, @issue)}"
,
can_add_related_issues:
"#{can?(current_user, :admin_issue_link, @issue)}"
,
help_path:
help_page_path
(
'user/project/issues/related_issues'
),
help_path:
help_page_path
(
'user/project/issues/related_issues'
),
show_categorized_issues:
"#{!!@project.feature_available?(:blocked_issues)}"
}
}
show_categorized_issues:
"#{!!@project.feature_available?(:blocked_issues)}"
}
}
-
render
(
'projects/issues/related_issues_block'
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment