Skip to content

Commit

Permalink
Wrap the "submitted on" sidebar date in a div to ease theming.
Browse files Browse the repository at this point in the history
  • Loading branch information
chromakode committed Dec 13, 2011
1 parent 98d8268 commit 1950fd6
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions r2/r2/templates/linkinfobar.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@


<div class="linkinfo">
${_("this post was submitted on")}
&#32;
<time datetime="${thing.a._date.isoformat()}">
${thing.a._date.strftime(thing.datefmt)}
</time>
<div class="date">
${_("this post was submitted on")}
&#32;
<time datetime="${thing.a._date.isoformat()}">
${thing.a._date.strftime(thing.datefmt)}
</time>
</div>

<div class="score">
${unsafe(strings.person_label % dict(num = locale.format("%d", thing.a.score, True),
Expand Down

0 comments on commit 1950fd6

Please sign in to comment.