Changed author display on issues, news and document files.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@732 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2007-09-15 15:20:08 +00:00
parent 89b349818b
commit 3c6ddc9cec
17 changed files with 41 additions and 7 deletions
+4
View File
@@ -73,6 +73,10 @@ module ApplicationHelper
@date_format_setting == 0 ? l_datetime(time) : (time.strftime("%Y-%m-%d") + ' ' + l_time(time))
end
def authoring(created, author)
l(:label_added_time_by, author.name, distance_of_time_in_words(Time.now, created))
end
def day_name(day)
l(:general_day_names).split(',')[day-1]
end