summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/helpers/application_helper.rb3
-rw-r--r--public/stylesheets/application.css1
2 files changed, 3 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)
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index d896eb4ce..ea16857a3 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -258,6 +258,7 @@ legend {color: #505050;}
.even {background-color: #fff;}
hr { border:0; border-top: dotted 1px #fff; border-bottom: dotted 1px #c0c0c0; }
table p {margin:0; padding:0;}
+acronym {border-bottom:0;}
.highlight { background-color: #FCFD8D;}