BigW Consortium Gitlab

pages.html.haml 493 Bytes
Newer Older
Douwe Maan committed
1
- page_title "Pages", "Wiki"
2 3
= render "header_title"

4
= render 'nav'
Dmitriy Zaporozhets committed
5
.gray-content-block
Douwe Maan committed
6 7
  All pages in this wiki are listed below.
  
Dmitriy Zaporozhets committed
8
%ul.content-list
9 10 11
  - @wiki_pages.each do |wiki_page|
    %li
      %h4
Vinnie Okada committed
12
        = link_to wiki_page.title, namespace_project_wiki_path(@project.namespace, @project, wiki_page)
13 14
        %small (#{wiki_page.format})
        .pull-right
Dmitriy Zaporozhets committed
15
          %small Last edited #{time_ago_with_tooltip(wiki_page.commit.authored_date)}
16
= paginate @wiki_pages, theme: 'gitlab'