</%block>
##### RANKS #####
-% if len(ranks) < 3:
+% if len(ranks) < 4:
<div class="row">
<div class="span12">
<p style="text-align: center;"><i class="icon-white icon-info-sign"> </i> You don't seem to have any ranks yet.</p>
% else:
<div class="row">
- % for rs in ranks[:3]:
+ % for rs in ranks[:4]:
% if len(rs) > 0:
- <div class="span4">
+ <div class="span3">
% if rs[0].game_type_cd == 'duel':
<h3>Duel Ranks</h3>
% elif rs[0].game_type_cd == 'ctf':
<h3>CTF Ranks</h3>
% elif rs[0].game_type_cd == 'dm':
<h3>DM Ranks</h3>
+ % elif rs[0].game_type_cd == 'tdm':
+ <h3>TDM Ranks</h3>
% endif
<table class="table table-hover table-condensed">
% for r in rs:
<tr>
<td>${i}</td>
- <td><a href="${request.route_url('player_info', id=r.player_id)}" title="Go to the player info page for this player">${r.nick_html_colors()|n}</a></td>
+ <td class="player-nick"><a href="${request.route_url('player_info', id=r.player_id)}" title="Go to the player info page for this player">${r.nick_html_colors()|n}</a></td>
<td>${round(r.elo, 3)}</td>
</tr>
<% i = i+1 %>
<tr>
<td>${i}</td>
% if player_id != '-':
- <td><a href="${request.route_url('player_info', id=player_id)}" title="Go to the player info page for this player">${nick|n}</a></td>
+ <td class="player-nick"><a href="${request.route_url('player_info', id=player_id)}" title="Go to the player info page for this player">${nick|n}</a></td>
% else:
<td>${nick|n}</td>
% endif
<td><a href="${request.route_url('server_info', id=rg.server_id)}" title="Go to the detail page for this server">${rg.server_name}</a></td>
<td><a href="${request.route_url('map_info', id=rg.map_id)}" title="Go to the map detail page for this map">${rg.map_name}</a></td>
<td><span class="abstime" data-epoch="${rg.epoch}" title="${rg.start_dt.strftime('%a, %d %b %Y %H:%M:%S UTC')}">${rg.fuzzy_date}</span></td>
- <td>
+ <td class="player-nick">
% if rg.player_id > 2:
<a href="${request.route_url('player_info', id=rg.player_id)}" title="Go to the player info page for this player">${rg.nick_html_colors|n}</a></td>
% else: