Add hover with exact timestamp for messages

This commit is contained in:
Keith Mitchell
2012-04-03 06:17:50 -07:00
committed by Neil Williams
parent e2fd083cb4
commit d260236520

View File

@@ -26,6 +26,7 @@
from r2.lib.pages import WrappedUser
%>
<%inherit file="comment_skeleton.html"/>
<%namespace file="utils.html" import="thing_timestamp" />
## disable voting arrows
<%def name="midcol(cls='')">
@@ -60,7 +61,7 @@ ${parent.thing_css_class(what)} ${"new" if thing.new else ""} ${"was-comment" if
author = thing.updated_author % dict(author=author, subreddit=subreddit)
taglinetext = thing.taglinetext.replace(' ', '&nbsp;')
taglinetext = taglinetext % dict(when=thing.timesince,
taglinetext = taglinetext % dict(when=capture(thing_timestamp, thing, thing.timesince),
author=u"<b>%s</b>" % author,
dest=u"<b>%s</b>" % thing.dest)
%>