debian-mirror-gitlab/app/views/projects/wikis/pages.html.haml

14 lines
434 B
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
- page_title "All Pages", "Wiki"
2014-09-02 18:07:02 +05:30
= render 'nav'
%h3.page-title
All Pages
%ul.bordered-list
- @wiki_pages.each do |wiki_page|
%li
%h4
2015-04-26 12:48:37 +05:30
= link_to wiki_page.title, namespace_project_wiki_path(@project.namespace, @project, wiki_page)
2014-09-02 18:07:02 +05:30
%small (#{wiki_page.format})
.pull-right
2015-04-26 12:48:37 +05:30
%small Last edited #{time_ago_with_tooltip(wiki_page.commit.authored_date)}
2014-09-02 18:07:02 +05:30
= paginate @wiki_pages, theme: 'gitlab'