summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-15 17:56:48 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-15 17:56:48 +0000
commit00bf5f04db5fe09a075bed2a9fbeae53dadd6505 (patch)
tree64453f30d4b72fcf41b79b8c7b68f4f1f669cee1 /app
parent780d5fa070ce9a1aaf5642a627f5f1c33cf6c285 (diff)
downloadredmine-00bf5f04db5fe09a075bed2a9fbeae53dadd6505.tar.gz
redmine-00bf5f04db5fe09a075bed2a9fbeae53dadd6505.zip
Date added as acronym title in ApplicationHelper#authoring
git-svn-id: http://redmine.rubyforge.org/svn/trunk@736 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/helpers/application_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 9f7b85707..038d051ee 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -74,7 +74,8 @@ module ApplicationHelper
end
def authoring(created, author)
- l(:label_added_time_by, author.name, distance_of_time_in_words(Time.now, created))
+ time_tag = content_tag('acronym', distance_of_time_in_words(Time.now, created), :title => format_time(created))
+ l(:label_added_time_by, author.name, time_tag)
end
def day_name(day)