Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-12-22 21:23:14 +0300
committerFilipa Lacerda <filipa@gitlab.com>2017-12-22 21:34:15 +0300
commit86c0bb49b79217e318122e8921f92ef78ee7a1cf (patch)
tree7ba16fdf903448210bff2209e85968cb8fcda610 /app/views/shared
parenta08bef4ebf3b87e52a32af7a1c297e0de99fa1a0 (diff)
Uniform style between all upload forms
Diffstat (limited to 'app/views/shared')
-rw-r--r--app/views/shared/_choose_group_avatar_button.html.haml11
1 files changed, 4 insertions, 7 deletions
diff --git a/app/views/shared/_choose_group_avatar_button.html.haml b/app/views/shared/_choose_group_avatar_button.html.haml
index 94295970acf..75c65520350 100644
--- a/app/views/shared/_choose_group_avatar_button.html.haml
+++ b/app/views/shared/_choose_group_avatar_button.html.haml
@@ -1,7 +1,4 @@
-%button.choose-btn.btn.btn-sm.js-choose-group-avatar-button{ type: 'button' }
- %i.fa.fa-paperclip
- %span Choose File ...
-&nbsp;
-%span.file_name.js-avatar-filename File name...
-= f.file_field :avatar, class: 'js-group-avatar-input hidden'
-.light The maximum file size allowed is 200KB.
+%button.btn.js-choose-group-avatar-button{ type: 'button' }= _("Choose File ...")
+%span.file_name.js-avatar-filename= _("No file chosen")
+= f.file_field :avatar, class: "js-group-avatar-input hidden"
+.help-block= _("The maximum file size allowed is 200KB.")