Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorJob van der Voort <job@gitlab.com>2015-07-28 16:47:25 +0300
committerJob van der Voort <job@gitlab.com>2015-07-28 16:47:25 +0300
commitf21ac8f5c6899c4e72afa9613478134bcc22aa6a (patch)
treeb898cc8245a7ae07b3e0b738223db079f838d4fe /app
parent43d118803133558209973464b1c16fd4c7ba446c (diff)
parent30b2a95b4d7d51f7c14c07c9f57fa84c1148725f (diff)
Merge branch 'timestamp-wikis' into 'master'
Added a timestamp to the wikis page just below the title Now it looks like this: ![image](https://gitlab.com/gitlab-org/gitlab-ce/uploads/813f85496db915cf14ee223c8b15478f/image.png) See merge request !1055
Diffstat (limited to 'app')
-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)}
+