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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
a08bef4e
Commit
a08bef4e
authored
Dec 21, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Browse file to Choose file in all occurences
parent
b8d79cc4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
app/views/profiles/show.html.haml
app/views/profiles/show.html.haml
+1
-1
app/views/projects/edit.html.haml
app/views/projects/edit.html.haml
+1
-1
changelogs/unreleased/40780-choose-file.yml
changelogs/unreleased/40780-choose-file.yml
+5
-0
No files found.
app/views/profiles/show.html.haml
View file @
a08bef4e
...
...
@@ -26,7 +26,7 @@
Upload new avatar
.prepend-top-5.append-bottom-10
%a
.btn.js-choose-user-avatar-button
Brow
se file...
Choo
se file...
%span
.avatar-file-name.prepend-left-default.js-avatar-filename
No file chosen
=
f
.
file_field_without_bootstrap
:avatar
,
class:
'js-user-avatar-input hidden'
,
accept:
'image/*'
.help-block
...
...
app/views/projects/edit.html.haml
View file @
a08bef4e
...
...
@@ -52,7 +52,7 @@
-
if
@project
.
avatar_in_git
Project avatar in repository:
#{
@project
.
avatar_in_git
}
%a
.choose-btn.btn.js-choose-project-avatar-button
Brow
se file...
Choo
se file...
%span
.file_name.prepend-left-default.js-avatar-filename
No file chosen
=
f
.
file_field
:avatar
,
class:
"js-project-avatar-input hidden"
.help-block
The maximum file size allowed is 200KB.
...
...
changelogs/unreleased/40780-choose-file.yml
0 → 100644
View file @
a08bef4e
---
title
:
Update Browse file to Choose file in all occurences
merge_request
:
author
:
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