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
9b67efbf
Commit
9b67efbf
authored
Oct 20, 2020
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove duplicated BS display properties from Issue
Signed-off-by:
Takuya Noguchi
<
takninnovationresearch@gmail.com
>
parent
d802e948
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
app/views/projects/issues/show.html.haml
app/views/projects/issues/show.html.haml
+4
-4
changelogs/unreleased/270065-bs4-optimization-issue.yml
changelogs/unreleased/270065-bs4-optimization-issue.yml
+5
-0
No files found.
app/views/projects/issues/show.html.haml
View file @
9b67efbf
...
...
@@ -37,10 +37,10 @@
.detail-page-header-actions.js-issuable-actions.js-issuable-buttons
{
data:
{
"action"
:
"close-reopen"
}
}
.clearfix.issue-btn-group.dropdown
%button
.btn.btn-default.float-left.d-md-none
.d-lg-none.d-xl-none
{
type:
"button"
,
data:
{
toggle:
"dropdown"
}
}
%button
.btn.btn-default.float-left.d-md-none
{
type:
"button"
,
data:
{
toggle:
"dropdown"
}
}
Options
=
icon
(
'caret-down'
)
.dropdown-menu.dropdown-menu-right.d-lg-none
.d-xl-none
.dropdown-menu.dropdown-menu-right.d-lg-none
%ul
-
unless
current_user
==
@issue
.
author
%li
=
link_to
'Report abuse'
,
new_abuse_report_path
(
user_id:
@issue
.
author
.
id
,
ref_url:
issue_url
(
@issue
))
...
...
@@ -58,9 +58,9 @@
=
render
'shared/issuable/close_reopen_button'
,
issuable:
@issue
,
can_update:
can_update_issue
,
can_reopen:
can_reopen_issue
,
warn_before_close:
defined?
(
@issue
.
blocked?
)
&&
@issue
.
blocked?
-
if
can_report_spam
=
link_to
'Submit as spam'
,
mark_as_spam_project_issue_path
(
@project
,
@issue
),
method: :post
,
class:
'd-none d-
sm-none d-
md-block gl-button btn btn-grouped btn-spam'
,
title:
'Submit as spam'
=
link_to
'Submit as spam'
,
mark_as_spam_project_issue_path
(
@project
,
@issue
),
method: :post
,
class:
'd-none d-md-block gl-button btn btn-grouped btn-spam'
,
title:
'Submit as spam'
-
if
can_create_issue
=
link_to
new_project_issue_path
(
@project
),
class:
'd-none d-
sm-none d-
md-block gl-button btn btn-grouped btn-success btn-inverted'
,
title:
'New issue'
,
id:
'new_issue_link'
do
=
link_to
new_project_issue_path
(
@project
),
class:
'd-none d-md-block gl-button btn btn-grouped btn-success btn-inverted'
,
title:
'New issue'
,
id:
'new_issue_link'
do
New issue
.issue-details.issuable-details
...
...
changelogs/unreleased/270065-bs4-optimization-issue.yml
0 → 100644
View file @
9b67efbf
---
title
:
Remove duplicated BS display properties from Issue
merge_request
:
45628
author
:
Takuya Noguchi
type
:
other
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