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

24 lines
596 B
Plaintext
Raw Normal View History

2012-08-09 06:34:29 +02:00
%h3.page_title
%span.cgray History for
= @wiki_pages.first.title
%br
2012-09-03 20:53:16 +02:00
%table
2012-02-19 20:52:05 +01:00
%thead
%tr
%th Page version
%th Last updated
%th Updated by
2012-02-19 20:52:05 +01:00
%tbody
- @wiki_pages.each_with_index do |wiki_page, i|
2012-02-19 20:52:05 +01:00
%tr
2012-02-19 20:56:18 +01:00
%td
%strong
= link_to project_wiki_path(@project, wiki_page, version_id: wiki_page.id) do
Version
= @wiki_pages.count - i
%td
= wiki_page.created_at.to_s(:short)
(#{time_ago_in_words(wiki_page.created_at)}
ago)
%td= link_to_member(@project, wiki_page.user)