gitlabhq/app/views/wikis/pages.html.haml

25 lines
626 B
Plaintext
Raw Normal View History

%h3.page_title
All Pages
= render partial: 'main_links'
2012-08-09 06:34:29 +02:00
%br
2012-09-03 20:53:16 +02:00
%table
2012-08-09 06:34:29 +02:00
%thead
%tr
%th Title
%th Format
%th Last updated
%th Updated by
2012-08-09 06:34:29 +02:00
%tbody
- @wiki_pages.each do |wiki_page|
2012-08-09 06:34:29 +02:00
%tr
%td
%strong= link_to wiki_page.title.titleize, project_wiki_path(@project, wiki_page)
%td
%strong= wiki_page.format
%td
= wiki_page.created_at.to_s(:short) do
(#{time_ago_in_words(wiki_page.created_at)}
ago)
- commit = CommitDecorator.decorate(wiki_page.version)
%td= commit.author_link avatar: true, size: 24