gitlab-org--gitlab-foss/app/views/projects/wikis/pages.html.haml
Dmitriy Zaporozhets 997a317b4c
Set of small improvements to wiki frontend
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-02-07 17:57:28 +01:00

13 lines
410 B
Text

- page_title "Pages", "Wiki"
= render "header_title"
= render 'nav'
%ul.content-list
- @wiki_pages.each do |wiki_page|
%li
= link_to wiki_page.title, namespace_project_wiki_path(@project.namespace, @project, wiki_page)
%small (#{wiki_page.format})
.pull-right
%small Last edited #{time_ago_with_tooltip(wiki_page.commit.authored_date)}
= paginate @wiki_pages, theme: 'gitlab'