gitlab-org--gitlab-foss/app/views/projects/wikis/pages.html.haml

15 lines
456 B
Text
Raw Normal View History

2016-06-15 10:31:41 -04:00
- @no_container = true
2015-12-02 07:59:42 -05:00
- page_title "Pages", "Wiki"
= render 'nav'
2016-06-30 09:01:26 -04:00
%div{ class: container_class }
2016-06-15 10:31:41 -04:00
%ul.content-list
- @wiki_pages.each do |wiki_page|
%li
= 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'