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

20 lines
435 B
Text
Raw Normal View History

%h3 Versions
2012-02-19 14:52:05 -05:00
%table
%thead
%tr
%th #
%th last edit
%th created by
%tbody
- @wikis.each_with_index do |wiki_page, i|
%tr
%td= i + 1
2012-02-19 14:56:18 -05:00
%td
= link_to wiki_page.created_at.to_s(:short), project_wiki_path(@project, wiki_page, :old_page_id => wiki_page.id)
(
= time_ago_in_words(wiki_page.created_at)
ago
)
2012-02-19 14:52:05 -05:00
%td= wiki_page.user.name