Открыть боковую панель
GitLab.org
Gitlab
Коммиты
91348d30
Коммит
91348d30
создал
Май 26, 2022
по автору
Marcel van Remmerden
Зафиксировано автором
Enrique Alcántara
Май 26, 2022
Просмотр файлов
Migrate button to confirm users email
Changelog: changed
владелец
4b2074a9
Изменения
1
Скрыть пробелы
Построчно
Рядом
app/views/profiles/emails/index.html.haml
Просмотр файла @
91348d30
...
...
@@ -56,7 +56,7 @@
=
gl_badge_tag
s_
(
'Profiles|Notification email'
),
variant: :info
-
unless
email
.
confirmed?
-
confirm_title
=
"
#{
email
.
confirmation_sent_at
?
_
(
'Resend confirmation email'
)
:
_
(
'Send confirmation email'
)
}
"
=
link_to
confirm_title
,
resend_confirmation_instructions_profile_email_path
(
email
),
method: :put
,
class:
'gl-button btn btn-sm btn-
warning
gl-ml-3'
=
link_to
confirm_title
,
resend_confirmation_instructions_profile_email_path
(
email
),
method: :put
,
class:
'gl-button btn btn-sm btn-
default
gl-ml-3'
=
link_to
profile_email_path
(
email
),
data:
{
confirm:
_
(
'Are you sure?'
),
qa_selector:
'delete_email_link'
},
method: :delete
,
class:
'gl-button btn btn-sm btn-danger gl-ml-3'
do
%span
.sr-only
=
_
(
'Remove'
)
...
...
Редактирование
Предварительный просмотр
Поддерживает Markdown
0%
Попробовать снова
или
прикрепить новый файл
.
Отмена
You are about to add
0
people
to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Отмена
Пожалуйста,
зарегистрируйтесь
или
войдите
чтобы прокомментировать