summaryrefslogtreecommitdiff
path: root/app/views/projects/wikis/_sidebar.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/wikis/_sidebar.html.haml')
-rw-r--r--app/views/projects/wikis/_sidebar.html.haml19
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'