diff options
author | Mike Greiling <mike@pixelcog.com> | 2016-11-14 15:33:21 -0600 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2016-11-30 15:22:43 -0600 |
commit | a167897bed66ed2b9aafad7020d75334e2badf32 (patch) | |
tree | fc5b111f2a9d84185cb764ca37b1f29e3621fdf2 /app/views/projects/wikis/_sidebar.html.haml | |
parent | 24e5a1e8db943be346b4f7f4fb49326ad0e5eb9e (diff) | |
download | gitlab-ce-a167897bed66ed2b9aafad7020d75334e2badf32.tar.gz |
move wiki navbar content to right sidebar
Diffstat (limited to 'app/views/projects/wikis/_sidebar.html.haml')
-rw-r--r-- | app/views/projects/wikis/_sidebar.html.haml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/views/projects/wikis/_sidebar.html.haml b/app/views/projects/wikis/_sidebar.html.haml new file mode 100644 index 00000000000..f833b844df4 --- /dev/null +++ b/app/views/projects/wikis/_sidebar.html.haml @@ -0,0 +1,19 @@ +%aside.right-sidebar.right-sidebar-expanded.wiki-sidebar.js-wiki-sidebar + .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') + + = link_to namespace_project_wikis_git_access_path(@project.namespace, @project) do + = succeed ' ' do + = icon('cloud-download') + Clone repository + + .blocks-container + .block.block-first + %ul.wiki-pages + %li + = link_to 'Home', namespace_project_wiki_path(@project.namespace, @project, :home) + %li + = link_to 'Pages', namespace_project_wikis_pages_path(@project.namespace, @project) + += render 'projects/wikis/new' |