diff options
Diffstat (limited to 'app/views/snippets')
-rw-r--r-- | app/views/snippets/edit.html.haml | 2 | ||||
-rw-r--r-- | app/views/snippets/new.html.haml | 3 | ||||
-rw-r--r-- | app/views/snippets/show.html.haml | 1 |
3 files changed, 1 insertions, 5 deletions
diff --git a/app/views/snippets/edit.html.haml b/app/views/snippets/edit.html.haml index 5fa4a6775f9..2b2035e362b 100644 --- a/app/views/snippets/edit.html.haml +++ b/app/views/snippets/edit.html.haml @@ -1,5 +1,5 @@ +- breadcrumb_title _("Edit Snippet") - page_title _("Edit"), "#{@snippet.title} (#{@snippet.to_reference})", _("Snippets") -- @content_class = "limit-container-width" unless fluid_layout - content_for :prefetch_asset_tags do - webpack_preload_asset_tag('monaco') diff --git a/app/views/snippets/new.html.haml b/app/views/snippets/new.html.haml index 418f96a1024..da2245432ce 100644 --- a/app/views/snippets/new.html.haml +++ b/app/views/snippets/new.html.haml @@ -1,7 +1,4 @@ -- @hide_top_links = true -- @hide_breadcrumbs = true - page_title _("New Snippet") -- @content_class = "limit-container-width" unless fluid_layout .page-title-holder.d-flex.align-items-center %h1.page-title.gl-font-size-h-display= _('New Snippet') diff --git a/app/views/snippets/show.html.haml b/app/views/snippets/show.html.haml index bb43c3c6274..eb9465a409f 100644 --- a/app/views/snippets/show.html.haml +++ b/app/views/snippets/show.html.haml @@ -5,7 +5,6 @@ - else - add_page_startup_graphql_call('snippet/user_permissions') - @hide_top_links = true -- @content_class = "limit-container-width limited-inner-width-container" unless fluid_layout - add_to_breadcrumbs _("Snippets"), dashboard_snippets_path - breadcrumb_title @snippet.to_reference - page_title "#{@snippet.title} (#{@snippet.to_reference})", _("Snippets") |