In email footers, explicitly link to the GitLab host
Fixes issue where some email clients (macOS/iOS Mail.app) would automatically turn the GitLab hostname into a link with different styling from other links. Also factor out some of the links in various templates' email footers, making them more consistent between templates, and improving the cohesion of translatable strings. Changelog: changed
显示
- app/helpers/emails_helper.rb 79 个添加, 15 个删除app/helpers/emails_helper.rb
- app/views/layouts/mailer.html.haml 1 个添加, 3 个删除app/views/layouts/mailer.html.haml
- app/views/layouts/mailer.text.erb 1 个添加, 1 个删除app/views/layouts/mailer.text.erb
- app/views/layouts/notify.html.haml 1 个添加, 10 个删除app/views/layouts/notify.html.haml
- app/views/layouts/notify.text.erb 1 个添加, 1 个删除app/views/layouts/notify.text.erb
- app/views/notify/approved_merge_request_email.html.haml 1 个添加, 3 个删除app/views/notify/approved_merge_request_email.html.haml
- app/views/notify/merge_when_pipeline_succeeds_email.html.haml 1 个添加, 3 个删除...views/notify/merge_when_pipeline_succeeds_email.html.haml
- app/views/notify/unapproved_merge_request_email.html.haml 1 个添加, 3 个删除app/views/notify/unapproved_merge_request_email.html.haml
- ee/app/views/layouts/mailer/devise.text.erb 1 个添加, 1 个删除ee/app/views/layouts/mailer/devise.text.erb
- ee/spec/mailers/ee/emails/profile_spec.rb 1 个添加, 1 个删除ee/spec/mailers/ee/emails/profile_spec.rb
- locale/gitlab.pot 19 个添加, 4 个删除locale/gitlab.pot
- spec/features/unsubscribe_links_spec.rb 1 个添加, 1 个删除spec/features/unsubscribe_links_spec.rb
- spec/helpers/emails_helper_spec.rb 1 个添加, 1 个删除spec/helpers/emails_helper_spec.rb
- spec/mailers/emails/admin_notification_spec.rb 1 个添加, 1 个删除spec/mailers/emails/admin_notification_spec.rb
- spec/mailers/emails/profile_spec.rb 4 个添加, 4 个删除spec/mailers/emails/profile_spec.rb
- spec/mailers/notify_spec.rb 5 个添加, 4 个删除spec/mailers/notify_spec.rb
加载中
想要评论请 注册 或 登录