Add joined date and player_id to player_info view.
authorAnt Zucaro <azucaro@gmail.com>
Tue, 9 Apr 2013 02:35:57 +0000 (22:35 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Tue, 9 Apr 2013 02:35:57 +0000 (22:35 -0400)
xonstat/templates/player_info.mako

index a1c7061a6908f0f83e8061511fccb04f3538be16..8a9bac36a343e299d4138944525a2f06a6c5d2d2 100644 (file)
@@ -194,6 +194,7 @@ Player Information
 <div class="row">
   <div class="span12">
     <h2>${player.nick_html_colors()|n}</h2>
+    <h4><i><span class="abstime" data-epoch="${player.epoch()}" title="${player.create_dt.strftime('%a, %d %b %Y %H:%M:%S UTC')}">Joined ${player.joined_pretty_date()}</span> (player #${player.player_id})</i></h4>
   </div>
 </div>