debian-mirror-gitlab/app/views/projects/wikis/_sidebar.html.haml

23 lines
892 B
Text
Raw Normal View History

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
.block.wiki-sidebar-header.append-bottom-default
%a.gutter-toggle.pull-right.visible-xs-block.visible-sm-block.js-sidebar-wiki-toggle{ href: "#" }
= icon('angle-double-right')
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
- git_access_url = project_wikis_git_access_path(@project)
= link_to git_access_url, class: active_nav_link?(path: 'wikis#git_access') ? 'active' : '' do
= succeed ' ' do
= icon('cloud-download')
Clone repository
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
.blocks-container
.block.block-first
%ul.wiki-pages
= render @sidebar_wiki_entries, context: 'sidebar'
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
.block
= link_to project_wikis_pages_path(@project), class: 'btn btn-block' do
More Pages
2017-08-17 22:00:37 +05:30
= render 'projects/wikis/new'