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:
authorLuke Bennett <lbennett@gitlab.com>2019-03-14 23:52:01 +0300
committerLuke Bennett <lbennett@gitlab.com>2019-03-28 13:43:23 +0300
commit8dc7efb2b025c9519b94362f3394ea6a1889ade1 (patch)
tree4af62db8b676a465140fc652740f0f023ece1a28 /app/views/shared/_choose_avatar_button.html.haml
parent13cd7cd76ff70c4ee63a3d6aea3f76c80a29b354 (diff)
Improve project avatar settings
Prioritize and simplify project settings content.
Diffstat (limited to 'app/views/shared/_choose_avatar_button.html.haml')
-rw-r--r--app/views/shared/_choose_avatar_button.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/shared/_choose_avatar_button.html.haml b/app/views/shared/_choose_avatar_button.html.haml
new file mode 100644
index 00000000000..0d46d047134
--- /dev/null
+++ b/app/views/shared/_choose_avatar_button.html.haml
@@ -0,0 +1,4 @@
+%button.btn.js-choose-avatar-button{ type: 'button' }= _("Choose fileā€¦")
+%span.file_name.js-avatar-filename= _("No file chosen")
+= f.file_field :avatar, class: "js-avatar-input hidden"
+.form-text.text-muted= _("The maximum file size allowed is 200KB.")