Utilize show_diff_preview_in_email column
Add the front-end updates needed to alter and utilize the show_diff_preview_in_email column. This should be used to hide the diff content found in the _note_email templates. Replace it with a string text informing the user that the GitLab instance should be visited to see the line in question. Changelog: added
上级
12074c72
No related branches found
No related tags found
显示
- app/assets/javascripts/pages/projects/shared/permissions/components/settings_panel.vue 36 个添加, 0 个删除...projects/shared/permissions/components/settings_panel.vue
- app/controllers/projects_controller.rb 1 个添加, 0 个删除app/controllers/projects_controller.rb
- app/helpers/groups_helper.rb 7 个添加, 0 个删除app/helpers/groups_helper.rb
- app/helpers/projects_helper.rb 9 个添加, 0 个删除app/helpers/projects_helper.rb
- app/models/namespace_setting.rb 1 个添加, 0 个删除app/models/namespace_setting.rb
- app/views/groups/settings/_email_settings.html.haml 14 个添加, 0 个删除app/views/groups/settings/_email_settings.html.haml
- app/views/groups/settings/_permissions.html.haml 1 个添加, 6 个删除app/views/groups/settings/_permissions.html.haml
- app/views/layouts/notify.html.haml 10 个添加, 0 个删除app/views/layouts/notify.html.haml
- app/views/layouts/notify.text.erb 10 个添加, 0 个删除app/views/layouts/notify.text.erb
- app/views/notify/_note_email.html.haml 2 个添加, 1 个删除app/views/notify/_note_email.html.haml
- app/views/notify/_note_email.text.erb 5 个添加, 4 个删除app/views/notify/_note_email.text.erb
- config/feature_flags/gitlab_com_derisk/diff_preview_in_email.yml 8 个添加, 0 个删除...feature_flags/gitlab_com_derisk/diff_preview_in_email.yml
- lib/api/helpers/groups_helpers.rb 1 个添加, 0 个删除lib/api/helpers/groups_helpers.rb
- locale/gitlab.pot 21 个添加, 0 个删除locale/gitlab.pot
- spec/frontend/pages/projects/shared/permissions/components/settings_panel_spec.js 64 个添加, 2 个删除...ects/shared/permissions/components/settings_panel_spec.js
- spec/helpers/groups_helper_spec.rb 51 个添加, 0 个删除spec/helpers/groups_helper_spec.rb
- spec/helpers/projects_helper_spec.rb 25 个添加, 0 个删除spec/helpers/projects_helper_spec.rb
- spec/mailers/notify_spec.rb 13 个添加, 4 个删除spec/mailers/notify_spec.rb
加载中
想要评论请 注册 或 登录