Commit a08bef4e authored by Filipa Lacerda's avatar Filipa Lacerda

Update Browse file to Choose file in all occurences

parent b8d79cc4
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
Upload new avatar Upload new avatar
.prepend-top-5.append-bottom-10 .prepend-top-5.append-bottom-10
%a.btn.js-choose-user-avatar-button %a.btn.js-choose-user-avatar-button
Browse file... Choose file...
%span.avatar-file-name.prepend-left-default.js-avatar-filename No file chosen %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/*' = f.file_field_without_bootstrap :avatar, class: 'js-user-avatar-input hidden', accept: 'image/*'
.help-block .help-block
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
- if @project.avatar_in_git - if @project.avatar_in_git
Project avatar in repository: #{ @project.avatar_in_git } Project avatar in repository: #{ @project.avatar_in_git }
%a.choose-btn.btn.js-choose-project-avatar-button %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 %span.file_name.prepend-left-default.js-avatar-filename No file chosen
= f.file_field :avatar, class: "js-project-avatar-input hidden" = f.file_field :avatar, class: "js-project-avatar-input hidden"
.help-block The maximum file size allowed is 200KB. .help-block The maximum file size allowed is 200KB.
......
---
title: Update Browse file to Choose file in all occurences
merge_request:
author:
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment