-
- Downloads
Enable CacheMarkdownField for the remaining models
This commit alters views for the following models to use the markdown cache if present: * AbuseReport * Appearance * ApplicationSetting * BroadcastMessage * Group * Issue * Label * MergeRequest * Milestone * Project At the same time, calls to `escape_once` have been moved into the `single_line` Banzai pipeline, so they can't be missed out by accident and the work is done at save, rather than render, time.
Showing
- app/controllers/admin/broadcast_messages_controller.rb 1 addition, 1 deletionapp/controllers/admin/broadcast_messages_controller.rb
- app/helpers/appearances_helper.rb 1 addition, 1 deletionapp/helpers/appearances_helper.rb
- app/helpers/application_settings_helper.rb 0 additions, 12 deletionsapp/helpers/application_settings_helper.rb
- app/helpers/broadcast_messages_helper.rb 3 additions, 3 deletionsapp/helpers/broadcast_messages_helper.rb
- app/helpers/gitlab_markdown_helper.rb 6 additions, 8 deletionsapp/helpers/gitlab_markdown_helper.rb
- app/views/admin/abuse_reports/_abuse_report.html.haml 1 addition, 1 deletionapp/views/admin/abuse_reports/_abuse_report.html.haml
- app/views/admin/broadcast_messages/_form.html.haml 4 additions, 1 deletionapp/views/admin/broadcast_messages/_form.html.haml
- app/views/admin/broadcast_messages/preview.js.haml 1 addition, 1 deletionapp/views/admin/broadcast_messages/preview.js.haml
- app/views/admin/groups/_group.html.haml 1 addition, 1 deletionapp/views/admin/groups/_group.html.haml
- app/views/admin/labels/_label.html.haml 1 addition, 1 deletionapp/views/admin/labels/_label.html.haml
- app/views/admin/projects/index.html.haml 1 addition, 1 deletionapp/views/admin/projects/index.html.haml
- app/views/devise/confirmations/almost_there.haml 2 additions, 2 deletionsapp/views/devise/confirmations/almost_there.haml
- app/views/groups/show.html.haml 1 addition, 1 deletionapp/views/groups/show.html.haml
- app/views/help/index.html.haml 1 addition, 1 deletionapp/views/help/index.html.haml
- app/views/layouts/devise.html.haml 2 additions, 2 deletionsapp/views/layouts/devise.html.haml
- app/views/projects/_home_panel.html.haml 1 addition, 1 deletionapp/views/projects/_home_panel.html.haml
- app/views/projects/commit/_commit_box.html.haml 2 additions, 2 deletionsapp/views/projects/commit/_commit_box.html.haml
- app/views/projects/commits/_commit.html.haml 1 addition, 1 deletionapp/views/projects/commits/_commit.html.haml
- app/views/projects/issues/show.html.haml 2 additions, 2 deletionsapp/views/projects/issues/show.html.haml
- app/views/projects/merge_requests/show/_mr_box.html.haml 2 additions, 2 deletionsapp/views/projects/merge_requests/show/_mr_box.html.haml
Please register or sign in to comment