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
b49c8216
Commit
b49c8216
authored
Dec 03, 2021
by
Kev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix filename overflowing modal when importing
Changelog: fixed
parent
4d8107ee
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
app/assets/javascripts/issuable/components/csv_import_modal.vue
...sets/javascripts/issuable/components/csv_import_modal.vue
+5
-1
ee/app/assets/javascripts/requirements/components/import_requirements_modal.vue
...pts/requirements/components/import_requirements_modal.vue
+5
-1
No files found.
app/assets/javascripts/issuable/components/csv_import_modal.vue
View file @
b49c8216
...
@@ -60,7 +60,11 @@ export default {
...
@@ -60,7 +60,11 @@ export default {
<form
ref=
"form"
:action=
"importCsvIssuesPath"
enctype=
"multipart/form-data"
method=
"post"
>
<form
ref=
"form"
:action=
"importCsvIssuesPath"
enctype=
"multipart/form-data"
method=
"post"
>
<input
:value=
"$options.csrf.token"
type=
"hidden"
name=
"authenticity_token"
/>
<input
:value=
"$options.csrf.token"
type=
"hidden"
name=
"authenticity_token"
/>
<p>
{{
$options
.
i18n
.
mainText
}}
</p>
<p>
{{
$options
.
i18n
.
mainText
}}
</p>
<gl-form-group
:label=
"$options.i18n.uploadCsvFileText"
label-for=
"file"
>
<gl-form-group
:label=
"$options.i18n.uploadCsvFileText"
class=
"gl-text-truncate"
label-for=
"file"
>
<input
id=
"file"
type=
"file"
name=
"file"
accept=
".csv,text/csv"
/>
<input
id=
"file"
type=
"file"
name=
"file"
accept=
".csv,text/csv"
/>
</gl-form-group>
</gl-form-group>
<p
class=
"text-secondary"
>
<p
class=
"text-secondary"
>
...
...
ee/app/assets/javascripts/requirements/components/import_requirements_modal.vue
View file @
b49c8216
...
@@ -68,7 +68,11 @@ export default {
...
@@ -68,7 +68,11 @@ export default {
</p>
</p>
<div>
<div>
<gl-form-group
label=
"Upload CSV file"
label-for=
"import-requirements-file-input"
>
<gl-form-group
label=
"Upload CSV file"
class=
"gl-text-truncate"
label-for=
"import-requirements-file-input"
>
<input
<input
id=
"import-requirements-file-input"
id=
"import-requirements-file-input"
ref=
"fileInput"
ref=
"fileInput"
...
...
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