gitlab-org--gitlab-foss/app/views/projects/wikis/pages.html.haml
Dmitriy Zaporozhets 2ed56ce9d4 Merge branch 'speed_up_wiki_pages' into 'master'
Speed up wiki pages page
2014-04-14 13:20:35 +00:00

12 lines
368 B
Text

= render 'nav'
%h3.page-title
All Pages
%ul.bordered-list
- @wiki_pages.each do |wiki_page|
%li
%h4
= link_to wiki_page.title, project_wiki_path(@project, wiki_page)
%small (#{wiki_page.format})
.pull-right
%small Last edited #{time_ago_with_tooltip(wiki_page.commit.created_at)}
= paginate @wiki_pages, theme: 'gitlab'