File: git_error.html.haml

package info (click to toggle)
gitlab 17.6.5-19
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 629,368 kB
  • sloc: ruby: 1,915,304; javascript: 557,307; sql: 60,639; xml: 6,509; sh: 4,567; makefile: 1,239; python: 406
file content (14 lines) | stat: -rw-r--r-- 777 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- if @page
  - wiki_page_title @page

- add_page_specific_style 'page_bundles/wiki'

- git_access_url = wiki_path(@wiki, action: :git_access)

.wiki-page-header.top-area.gl-flex-col.lg:gl-flex-row
  .gl-mt-5.gl-mb-3
    .gl-flex.gl-justify-between
      %h2.gl-mt-0.gl-mb-5{ data: { testid: 'page-heading' } }= @page ? @page.human_title : _('Failed to retrieve page')
    .js-wiki-page-content.md.gl-pt-2{ data: { testid: 'wiki-page-content' } }
      = _('The page could not be displayed because it timed out.')
      = html_escape(_('You can view the source or %{linkStart}%{cloneIcon} clone the repository%{linkEnd}')) % { linkStart: "<a href=\"#{git_access_url}\">".html_safe, linkEnd: '</a>'.html_safe, cloneIcon: sprite_icon('download', css_class: 'gl-mr-2').html_safe }