Update Browse file to Choose file in all occurences

This commit is contained in:
Filipa Lacerda 2017-12-21 17:34:20 +00:00
parent b8d79cc479
commit a08bef4ebf
No known key found for this signature in database
GPG Key ID: 9CA3FDE4D1E2F1C8
3 changed files with 7 additions and 2 deletions

View File

@ -26,7 +26,7 @@
Upload new avatar
.prepend-top-5.append-bottom-10
%a.btn.js-choose-user-avatar-button
Browse file...
Choose 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

View File

@ -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
Browse file...
Choose 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.

View File

@ -0,0 +1,5 @@
---
title: Update Browse file to Choose file in all occurences
merge_request:
author:
type: other