summaryrefslogtreecommitdiff
path: root/app/views/projects/wikis/pages.html.haml
blob: ee233d9086f99d02406169cf9881d7dec7cd40ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
= render 'nav'
%h3.page-title
  All Pages
%ul.bordered-list
  - @wiki_pages.each do |wiki_page|
    %li
      %h4
        = 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'