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
508b6f39
Commit
508b6f39
authored
Feb 09, 2021
by
Yogi
Committed by
Savas Vedova
Feb 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply new GitLab UI for buttons in empty issue placeholder
parent
ab9552f6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
app/views/projects/issues/import_csv/_button.html.haml
app/views/projects/issues/import_csv/_button.html.haml
+1
-1
app/views/shared/empty_states/_issues.html.haml
app/views/shared/empty_states/_issues.html.haml
+1
-1
changelogs/unreleased/gl-button-empty-issue-placeholder.yml
changelogs/unreleased/gl-button-empty-issue-placeholder.yml
+5
-0
No files found.
app/views/projects/issues/import_csv/_button.html.haml
View file @
508b6f39
...
...
@@ -2,7 +2,7 @@
-
can_edit
=
can?
(
current_user
,
:admin_project
,
@project
)
.dropdown.btn-group
%button
.btn.gl-button.rounded-right.text-center
{
class:
(
'has-tooltip'
if
type
==
:icon
),
title:
(
_
(
'Import issues'
)
if
type
==
:icon
),
%button
.btn.gl-button.
btn-default.
rounded-right.text-center
{
class:
(
'has-tooltip'
if
type
==
:icon
),
title:
(
_
(
'Import issues'
)
if
type
==
:icon
),
data:
{
toggle:
'dropdown'
,
qa_selector:
'import_issues_button'
},
'aria-label'
=>
_
(
'Import issues'
),
'aria-haspopup'
=>
'true'
,
'aria-expanded'
=>
'false'
}
-
if
type
==
:icon
=
sprite_icon
(
'import'
)
...
...
app/views/shared/empty_states/_issues.html.haml
View file @
508b6f39
...
...
@@ -42,7 +42,7 @@
-
if
project_select_button
=
render
'shared/new_project_item_select'
,
path:
'issues/new'
,
label:
_
(
'New issue'
),
type: :issues
,
with_feature_enabled:
'issues'
-
else
=
link_to
_
(
'New issue'
),
button_path
,
class:
'btn btn-success'
,
id:
'new_issue_link'
=
link_to
_
(
'New issue'
),
button_path
,
class:
'btn
gl-button
btn-success'
,
id:
'new_issue_link'
-
if
show_import_button
=
render
'projects/issues/import_csv/button'
,
type: :text
...
...
changelogs/unreleased/gl-button-empty-issue-placeholder.yml
0 → 100644
View file @
508b6f39
---
title
:
Apply new GitLab UI for buttons in empty issue placeholder
merge_request
:
53554
author
:
Yogi (@yo)
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