summaryrefslogtreecommitdiff
path: root/app/views/projects/wikis/pages.html.haml
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-06-15 09:31:41 -0500
committerJacob Schatz <jschatz1@gmail.com>2016-06-21 12:15:49 -0400
commita4c9b4fbe9cc6e0e91d43137db71d8d15d22e09a (patch)
tree56ba343035a4c90c06ccf8d091db0ce75cf5fb73 /app/views/projects/wikis/pages.html.haml
parent8e84153044059da618b6238da7b37fc627c3140d (diff)
downloadgitlab-ce-a4c9b4fbe9cc6e0e91d43137db71d8d15d22e09a.tar.gz
Style wiki sub nav links
Diffstat (limited to 'app/views/projects/wikis/pages.html.haml')
-rw-r--r--app/views/projects/wikis/pages.html.haml18
1 files changed, 10 insertions, 8 deletions
diff --git a/app/views/projects/wikis/pages.html.haml b/app/views/projects/wikis/pages.html.haml
index 2f6162fa3c5..81d9f391c1c 100644
--- a/app/views/projects/wikis/pages.html.haml
+++ b/app/views/projects/wikis/pages.html.haml
@@ -1,12 +1,14 @@
+- @no_container = true
- page_title "Pages", "Wiki"
= render 'nav'
-%ul.content-list
- - @wiki_pages.each do |wiki_page|
- %li
- = link_to wiki_page.title, namespace_project_wiki_path(@project.namespace, @project, wiki_page)
- %small (#{wiki_page.format})
- .pull-right
- %small Last edited #{time_ago_with_tooltip(wiki_page.commit.authored_date)}
-= paginate @wiki_pages, theme: 'gitlab'
+%div{ class: (container_class) }
+ %ul.content-list
+ - @wiki_pages.each do |wiki_page|
+ %li
+ = link_to wiki_page.title, namespace_project_wiki_path(@project.namespace, @project, wiki_page)
+ %small (#{wiki_page.format})
+ .pull-right
+ %small Last edited #{time_ago_with_tooltip(wiki_page.commit.authored_date)}
+ = paginate @wiki_pages, theme: 'gitlab'