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
7bfea1b9
Commit
7bfea1b9
authored
Apr 13, 2022
by
Simon Knox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix import button width on Issue list page
Changelog: fixed
parent
0affa6c6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
app/assets/javascripts/issuable/components/csv_import_export_buttons.vue
...scripts/issuable/components/csv_import_export_buttons.vue
+1
-0
app/assets/javascripts/issues/list/components/issues_list_app.vue
...ts/javascripts/issues/list/components/issues_list_app.vue
+1
-1
app/views/shared/empty_states/_issues.html.haml
app/views/shared/empty_states/_issues.html.haml
+1
-1
No files found.
app/assets/javascripts/issuable/components/csv_import_export_buttons.vue
View file @
7bfea1b9
...
@@ -102,6 +102,7 @@ export default {
...
@@ -102,6 +102,7 @@ export default {
:text=
"$options.i18n.importIssuesText"
:text=
"$options.i18n.importIssuesText"
:text-sr-only=
"!showLabel"
:text-sr-only=
"!showLabel"
:icon=
"importButtonIcon"
:icon=
"importButtonIcon"
class=
"gl-w-full gl-md-w-auto"
>
>
<gl-dropdown-item
v-gl-modal=
"importModalId"
>
<gl-dropdown-item
v-gl-modal=
"importModalId"
>
{{
$options
.
i18n
.
importCsvText
}}
{{
$options
.
i18n
.
importCsvText
}}
...
...
app/assets/javascripts/issues/list/components/issues_list_app.vue
View file @
7bfea1b9
...
@@ -785,7 +785,7 @@ export default {
...
@@ -785,7 +785,7 @@ export default {
</gl-button>
</gl-button>
<csv-import-export-buttons
<csv-import-export-buttons
v-if=
"showCsvButtons"
v-if=
"showCsvButtons"
class=
"gl-mr-3"
class=
"gl-
w-full gl-sm-w-auto gl-sm-
mr-3"
:export-csv-path=
"exportCsvPathWithQuery"
:export-csv-path=
"exportCsvPathWithQuery"
:issuable-count=
"currentTabCount"
:issuable-count=
"currentTabCount"
/>
/>
...
...
app/views/shared/empty_states/_issues.html.haml
View file @
7bfea1b9
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
=
link_to
_
(
'New issue'
),
button_path
,
class:
'gl-button btn btn-confirm'
,
id:
'new_issue_link'
=
link_to
_
(
'New issue'
),
button_path
,
class:
'gl-button btn btn-confirm'
,
id:
'new_issue_link'
-
if
show_import_button
-
if
show_import_button
.js-csv-import-export-buttons
{
data:
{
show_import_button:
'true'
,
issuable_type:
issuable_type
,
import_csv_issues_path:
import_csv_namespace_project_issues_path
,
can_edit:
can_edit
.
to_s
,
project_import_jira_path:
project_import_jira_path
(
@project
),
max_attachment_size:
number_to_human_size
(
Gitlab
::
CurrentSettings
.
max_attachment_size
.
megabytes
),
container_class:
'gl-display-inline-flex gl-vertical-align-middle'
,
show_label:
'true'
}
}
.js-csv-import-export-buttons
{
data:
{
show_import_button:
'true'
,
issuable_type:
issuable_type
,
import_csv_issues_path:
import_csv_namespace_project_issues_path
,
can_edit:
can_edit
.
to_s
,
project_import_jira_path:
project_import_jira_path
(
@project
),
max_attachment_size:
number_to_human_size
(
Gitlab
::
CurrentSettings
.
max_attachment_size
.
megabytes
),
container_class:
'gl-
w-full gl-sm-w-auto gl-sm-mr-3 gl-
display-inline-flex gl-vertical-align-middle'
,
show_label:
'true'
}
}
%hr
%hr
%p
.gl-text-center.gl-mb-0
%p
.gl-text-center.gl-mb-0
%strong
%strong
...
...
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