]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/templates/player_index.mako
Get rid of joined_pretty_date in favor of the mixin.
[xonotic/xonstat.git] / xonstat / templates / player_index.mako
index 36b8cb54d9c21e07105658d0b4b8f3b17faad662..c991f70c683398aa88b9f772c94d7ebda55aaa7a 100644 (file)
@@ -15,7 +15,7 @@
 
 % else:
   <div class="row">
-    <div class="small-6 small-offset-3 columns">
+    <div class="small-12 large-6 large-offset-3 columns">
 
       <form method="get" action="${request.route_url('search')}">
         <div class="row">
       </form>
 
       <table class="table-hover table-condensed">
-        <tr>
-          <th class="small-3">Player ID</th>
-          <th class="small-5">Nick</th>
-          <th class="small-3">Joined</th>
-          <th class="small-1"></th>
-        </tr>
+        <thead>
+          <tr>
+            <th class="small-3">Player ID</th>
+            <th class="small-5">Nick</th>
+            <th class="small-3">Joined</th>
+            <th class="small-1"></th>
+          </tr>
+        </thead>
       % for player in players:
         <tr>
           <td>${player.player_id}</th>
           <td class="no-stretch"><a href="${request.route_url("player_info", id=player.player_id)}" title="Go to this player's info page">${player.nick_html_colors()|n}</a></th>
-          <td><span class="abstime" data-epoch="${player.epoch()}" title="${player.create_dt.strftime('%a, %d %b %Y %H:%M:%S UTC')}">${player.joined_pretty_date()}</span></th>
+          <td><span class="abstime" data-epoch="${player.epoch()}" title="${player.create_dt.strftime('%a, %d %b %Y %H:%M:%S UTC')}">${player.fuzzy_date()}</span></th>
           <td class="text-center">
             <a href="${request.route_url("player_game_index", player_id=player.player_id, page=1)}" title="View recent games by this player">
               <i class="fa fa-list"></i>