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
|
2019-12-04 20:38:33 +05:30
|
|
|
.block.wiki-sidebar-header.append-bottom-default.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: "#" }
|
2017-09-10 17:25:29 +05:30
|
|
|
= icon('angle-double-right')
|
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
|
2018-03-17 18:26:18 +05:30
|
|
|
= icon('cloud-download', class: 'append-right-5')
|
|
|
|
%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-06-23 00:09:42 +05:30
|
|
|
= link_to wiki_path(@wiki, action: :pages), class: 'btn btn-block' do
|
2020-04-22 19:07:51 +05:30
|
|
|
= s_("Wiki|View All Pages")
|