pages.html.haml 600 Bytes
Newer Older
1
= render 'nav'
2
%h3.page-title
3
  All Pages
4
  = render 'main_links'
5 6 7 8 9
%br
%table
  %thead
    %tr
      %th Title
10
      %th Format
11 12 13 14 15 16
      %th Last updated
      %th Updated by
  %tbody
    - @wiki_pages.each do |wiki_page|
      %tr
        %td
17 18 19
          %strong= link_to wiki_page.title.titleize, project_wiki_path(@project, wiki_page)
        %td
          %strong= wiki_page.format
20 21 22 23
        %td
          = wiki_page.created_at.to_s(:short) do
            (#{time_ago_in_words(wiki_page.created_at)}
            ago)
24 25
        %td
          = commit_author_link(wiki_page.version, avatar: true, size: 24)