File: git_access.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 (34 lines) | stat: -rw-r--r-- 965 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
- @gfm_form = true
- @noteable_type = 'Wiki'
- @content_class = "limit-container-width" unless fluid_layout
- page_title s_("WikiClone|Git Access"), _("Wiki")
- add_page_specific_style 'page_bundles/wiki'

.wiki-page-header.has-sidebar-toggle.gl-flex-col.gl-py-5
  %h1.gl-heading-1{ class: '!gl-mt-0' }= s_('WikiClone|Clone Wiki repository')
  %h2.gl-heading-3{ class: '!gl-mb-0' }= s_('WikiClone|Step 1: Clone repository')

  %h5= s_("WikiClone|Clone repository")
  = wiki_sidebar_toggle_button

  = render "shared/clone_panel", container: @wiki

.wiki-git-access.gl-mt-3
  %h2.gl-heading-3= s_('WikiClone|Step 2: Install and start Gollum')

  %h5.gl-mt-2= s_("WikiClone|Go to directory")
  %pre.dark
    :preserve
      cd #{h @wiki.path}

  %h5= s_("WikiClone|Install Gollum")
  %pre.dark
    :preserve
      gem install gollum

  %h5.gl-mt-2= s_("WikiClone|Start Gollum and edit locally")
  %pre.dark
    :preserve
      gollum

= render 'shared/wikis/sidebar'