pages.html.haml 434 Bytes
Newer Older
1
- page_title "All Pages", "Wiki"
2
= render 'nav'
3
%h3.page-title
4
  All Pages
5 6 7 8
%ul.bordered-list
  - @wiki_pages.each do |wiki_page|
    %li
      %h4
Vinnie Okada's avatar
Vinnie Okada committed
9
        = link_to wiki_page.title, namespace_project_wiki_path(@project.namespace, @project, wiki_page)
10 11
        %small (#{wiki_page.format})
        .pull-right
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
12
          %small Last edited #{time_ago_with_tooltip(wiki_page.commit.authored_date)}
13
= paginate @wiki_pages, theme: 'gitlab'