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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-05-19 09:10:37 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-05-19 09:10:37 +0300
commite173c316de15057b099a93053c9ef16180d6d1de (patch)
treeb0b7b4223b5450f4c77c6d6ce087f151e2415bb4 /app/views/snippets
parent6eba378ec4193d168af62094caf8a69dd62ad5fd (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/snippets')
-rw-r--r--app/views/snippets/edit.html.haml2
-rw-r--r--app/views/snippets/show.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/snippets/edit.html.haml b/app/views/snippets/edit.html.haml
index 6e0126fd2fd..f737e347c39 100644
--- a/app/views/snippets/edit.html.haml
+++ b/app/views/snippets/edit.html.haml
@@ -1,6 +1,6 @@
- page_title _("Edit"), "#{@snippet.title} (#{@snippet.to_reference})", _("Snippets")
- @content_class = "limit-container-width" unless fluid_layout
-- content_for :monaco_tag do
+- content_for :prefetch_asset_tags do
- webpack_preload_asset_tag('monaco')
%h3.page-title
diff --git a/app/views/snippets/show.html.haml b/app/views/snippets/show.html.haml
index 534bbbef437..4fdb9e70742 100644
--- a/app/views/snippets/show.html.haml
+++ b/app/views/snippets/show.html.haml
@@ -9,7 +9,7 @@
- add_to_breadcrumbs _("Snippets"), dashboard_snippets_path
- breadcrumb_title @snippet.to_reference
- page_title "#{@snippet.title} (#{@snippet.to_reference})", _("Snippets")
-- content_for :monaco_tag do
+- content_for :prefetch_asset_tags do
- webpack_preload_asset_tag('monaco', prefetch: true)
#js-snippet-view{ data: {'qa-selector': 'snippet_view', 'snippet-gid': @snippet.to_global_id} }