gitlabhq/app/views/wikis/pages.html.haml
MrHammy c913f40ca4 Update app/views/wikis/pages.html.haml
Changed the link in the pages of the wiki to the direct link instead of the first created page
2013-01-11 13:40:29 +01:00

19 lines
390 B
Plaintext

%h3.page_title All Pages
%br
%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)
(#{time_ago_in_words(wiki_page.created_at)}
ago)
%td= wiki_page.slug
%td= wiki_page.user.name