BigW Consortium Gitlab

pages.html.haml 506 Bytes
Newer Older
1
- page_title "All Pages", "Wiki"
2 3
= render "header_title"

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