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
0357b768
Commit
0357b768
authored
Jul 10, 2021
by
Samantha Ming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update upload blob modal to use constants
parent
c4660d6c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
app/assets/javascripts/repository/components/upload_blob_modal.vue
...s/javascripts/repository/components/upload_blob_modal.vue
+6
-4
No files found.
app/assets/javascripts/repository/components/upload_blob_modal.vue
View file @
0357b768
...
...
@@ -17,13 +17,15 @@ import { visitUrl, joinPaths } from '~/lib/utils/url_utility';
import
{
__
}
from
'
~/locale
'
;
import
{
trackFileUploadEvent
}
from
'
~/projects/upload_file_experiment_tracking
'
;
import
UploadDropzone
from
'
~/vue_shared/components/upload_dropzone/upload_dropzone.vue
'
;
import
{
SECONDARY_OPTIONS_TEXT
,
COMMIT_LABEL
,
TARGET_BRANCH_LABEL
,
TOGGLE_CREATE_MR_LABEL
,
}
from
'
../constants
'
;
const
PRIMARY_OPTIONS_TEXT
=
__
(
'
Upload file
'
);
const
SECONDARY_OPTIONS_TEXT
=
__
(
'
Cancel
'
);
const
MODAL_TITLE
=
__
(
'
Upload New File
'
);
const
COMMIT_LABEL
=
__
(
'
Commit message
'
);
const
TARGET_BRANCH_LABEL
=
__
(
'
Target branch
'
);
const
TOGGLE_CREATE_MR_LABEL
=
__
(
'
Start a new merge request with these changes
'
);
const
REMOVE_FILE_TEXT
=
__
(
'
Remove file
'
);
const
NEW_BRANCH_IN_FORK
=
__
(
'
A new branch will be created in your fork and a new merge request will be started.
'
,
...
...
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