summaryrefslogtreecommitdiff
path: root/app/views/projects/wikis/_pages_wiki_page.html.haml
diff options
context:
space:
mode:
authorAlex Braha Stoll <alexbrahastoll@gmail.com>2016-12-31 17:14:45 -0200
committerAlex Braha Stoll <alexbrahastoll@gmail.com>2016-12-31 17:14:45 -0200
commitb0ad4e0e87c642efefa840eeeea5824191e81405 (patch)
tree61b3479f83cd74724edc7ee12001a68498da1470 /app/views/projects/wikis/_pages_wiki_page.html.haml
parent389bd6b7356e78668831e4628f9ca8dadb01fcf2 (diff)
downloadgitlab-ce-b0ad4e0e87c642efefa840eeeea5824191e81405.tar.gz
Add new wiki related partials
Diffstat (limited to 'app/views/projects/wikis/_pages_wiki_page.html.haml')
-rw-r--r--app/views/projects/wikis/_pages_wiki_page.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/projects/wikis/_pages_wiki_page.html.haml b/app/views/projects/wikis/_pages_wiki_page.html.haml
new file mode 100644
index 00000000000..6298cf6c8da
--- /dev/null
+++ b/app/views/projects/wikis/_pages_wiki_page.html.haml
@@ -0,0 +1,5 @@
+%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)}