2012-08-09 00:34:29 -04:00
|
|
|
%h3.page_title All Pages
|
|
|
|
%br
|
2012-09-03 14:53:16 -04:00
|
|
|
%table
|
2012-08-09 00:34:29 -04:00
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th Title
|
|
|
|
%th slug
|
|
|
|
%th created by
|
|
|
|
%tbody
|
|
|
|
- @wikis.each_with_index do |wiki_page, i|
|
|
|
|
%tr
|
|
|
|
%td
|
2012-08-10 18:07:50 -04:00
|
|
|
= link_to wiki_page.title, project_wiki_path(@project, wiki_page, old_page_id: wiki_page.id)
|
2012-08-09 00:34:29 -04:00
|
|
|
(#{time_ago_in_words(wiki_page.created_at)}
|
|
|
|
ago)
|
|
|
|
%td= wiki_page.slug
|
|
|
|
%td= wiki_page.user.name
|
|
|
|
|