gitlab-org--gitlab-foss/app/views/wikis/pages.html.haml
Robert Speicher 7754189187 Fully embrace Ruby 1.9 hash syntax
Didn't bother with files in db/, config/, or features/
2012-08-10 18:25:15 -04:00

18 lines
429 B
Text

%h3.page_title All Pages
%br
%table.admin-table
%thead
%tr
%th Title
%th slug
%th created by
%tbody
- @wikis.each_with_index do |wiki_page, i|
%tr
%td
= link_to wiki_page.title, project_wiki_path(@project, wiki_page, old_page_id: wiki_page.id)
(#{time_ago_in_words(wiki_page.created_at)}
ago)
%td= wiki_page.slug
%td= wiki_page.user.name