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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user