2017-09-10 17:25:29 +05:30
|
|
|
%aside.right-sidebar.right-sidebar-expanded.wiki-sidebar.js-wiki-sidebar.js-right-sidebar{ data: { "offset-top" => "50", "spy" => "affix" } }
|
|
|
|
.sidebar-container
|
2020-07-28 23:09:34 +05:30
|
|
|
.block.wiki-sidebar-header.gl-mb-3.w-100
|
2018-11-08 19:23:39 +05:30
|
|
|
%a.gutter-toggle.float-right.d-block.d-sm-block.d-md-none.js-sidebar-wiki-toggle{ href: "#" }
|
2020-10-24 23:57:45 +05:30
|
|
|
= sprite_icon('chevron-double-lg-right', css_class: 'gl-icon')
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2020-06-23 00:09:42 +05:30
|
|
|
- git_access_url = wiki_path(@wiki, action: :git_access)
|
|
|
|
= link_to git_access_url, class: active_nav_link?(path: 'wikis#git_access') ? 'active' : '', data: { qa_selector: 'clone_repository_link' } do
|
2020-10-24 23:57:45 +05:30
|
|
|
= sprite_icon('download', css_class: 'gl-mr-2')
|
2018-03-17 18:26:18 +05:30
|
|
|
%span= _("Clone repository")
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
.blocks-container
|
2019-12-04 20:38:33 +05:30
|
|
|
.block.block-first.w-100
|
2018-11-18 11:00:15 +05:30
|
|
|
- if @sidebar_page
|
2019-03-02 22:35:43 +05:30
|
|
|
= render_wiki_content(@sidebar_page)
|
2018-11-18 11:00:15 +05:30
|
|
|
- else
|
|
|
|
%ul.wiki-pages
|
|
|
|
= render @sidebar_wiki_entries, context: 'sidebar'
|
2019-12-04 20:38:33 +05:30
|
|
|
.block.w-100
|
2020-05-24 23:13:21 +05:30
|
|
|
- if @sidebar_limited
|
2020-07-28 23:09:34 +05:30
|
|
|
= link_to wiki_path(@wiki, action: :pages), class: 'btn btn-block', data: { qa_selector: 'view_all_pages_button' } do
|
2020-04-22 19:07:51 +05:30
|
|
|
= s_("Wiki|View All Pages")
|