Date added as acronym title in ApplicationHelper#authoring
git-svn-id: http://redmine.rubyforge.org/svn/trunk@736 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
780d5fa070
commit
00bf5f04db
@ -74,7 +74,8 @@ module ApplicationHelper
|
|||||||
end
|
end
|
||||||
|
|
||||||
def authoring(created, author)
|
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
|
end
|
||||||
|
|
||||||
def day_name(day)
|
def day_name(day)
|
||||||
|
@ -258,6 +258,7 @@ legend {color: #505050;}
|
|||||||
.even {background-color: #fff;}
|
.even {background-color: #fff;}
|
||||||
hr { border:0; border-top: dotted 1px #fff; border-bottom: dotted 1px #c0c0c0; }
|
hr { border:0; border-top: dotted 1px #fff; border-bottom: dotted 1px #c0c0c0; }
|
||||||
table p {margin:0; padding:0;}
|
table p {margin:0; padding:0;}
|
||||||
|
acronym {border-bottom:0;}
|
||||||
|
|
||||||
.highlight { background-color: #FCFD8D;}
|
.highlight { background-color: #FCFD8D;}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user