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

_name.html.haml « profiles « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b0d9f142d886af5a4cea684f3f1f7df0d0a74b77 (plain)
1
2
3
4
5
6
7
8
9
= form.label :name, s_('Profiles|Full name')
- if user.read_only_attribute?(:name)
  = form.text_field :name, class: 'gl-form-input form-control', required: true, readonly: true
  %small.form-text.text-gl-muted
    = s_("Profiles|Your name was automatically set based on your %{provider_label} account, so people you know can recognize you.") % { provider_label: attribute_provider_label(:name) }
- else
  = form.text_field :name, class: 'gl-form-input form-control', required: true, title: s_("Profiles|Using emoji in names seems fun, but please try to set a status message instead")
  %small.form-text.text-gl-muted
    = s_("Profiles|Enter your name, so people you know can recognize you.")