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

26 lines
615 B
Text
Raw Normal View History

2013-03-15 08:20:03 -04:00
= render 'wikis/nav'
%h3.page_title
All Pages
= render partial: 'main_links'
2013-03-15 08:20:03 -04:00
%br
%table
%thead
%tr
%th Title
%th Format
2013-03-15 08:20:03 -04:00
%th Last updated
%th Updated by
%tbody
- @wiki_pages.each do |wiki_page|
%tr
%td
%strong= link_to wiki_page.title.titleize, project_wiki_path(@project, wiki_page)
%td
%strong= wiki_page.format
2013-03-15 08:20:03 -04:00
%td
= wiki_page.created_at.to_s(:short) do
(#{time_ago_in_words(wiki_page.created_at)}
ago)
%td
= commit_author_link(wiki_page.version, avatar: true, size: 24)