summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarby <darbsies@gmail.com>2015-07-27 17:41:31 -0400
committerDarby <darbsies@gmail.com>2015-07-27 17:41:31 -0400
commit30b2a95b4d7d51f7c14c07c9f57fa84c1148725f (patch)
tree924e12c5b996b2471a3b6b703f4269a1c48c699c
parentb5e2dd6f320d3c15d898616fd8e9c41a52e9ddf4 (diff)
downloadgitlab-ce-timestamp-wikis.tar.gz
Added a timestamp to the wikis page just below the titletimestamp-wikis
-rw-r--r--app/views/projects/wikis/show.html.haml6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/projects/wikis/show.html.haml b/app/views/projects/wikis/show.html.haml
index 83cd4c66672..5c4dd7f91ae 100644
--- a/app/views/projects/wikis/show.html.haml
+++ b/app/views/projects/wikis/show.html.haml
@@ -3,6 +3,10 @@
%h3.page-title
= @page.title
= render 'main_links'
+
+.wiki-last-edit-by
+ Last edited by #{@page.commit.author.name} #{time_ago_with_tooltip(@page.commit.authored_date)}
+
- if @page.historical?
.warning_message
This is an old version of this page.
@@ -16,6 +20,6 @@
= render_wiki_content(@page)
%hr
-
.wiki-last-edit-by
Last edited by #{@page.commit.author.name} #{time_ago_with_tooltip(@page.commit.authored_date)}
+