From 053ea4d8b9738f9c49bf615cb61fc0bd5ae736cf Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Mon, 25 Jan 2016 16:02:33 -0500 Subject: [PATCH] Add a plus-sign link to the player_game_index. --- xonstat/templates/player_info.mako | 13 +++---------- xonstat/views/player.py | 1 + 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/xonstat/templates/player_info.mako b/xonstat/templates/player_info.mako index f59bdc2..a0f0895 100644 --- a/xonstat/templates/player_info.mako +++ b/xonstat/templates/player_info.mako @@ -200,7 +200,7 @@ ##### ACCURACY CHART ####
-

Weapon Accuracy

+
Weapon Accuracy
@@ -213,7 +213,7 @@ ##### DAMAGE CHART ####
-

Weapon Damage

+
Weapon Damage
@@ -227,7 +227,7 @@ % if recent_games:
-

Recent Games

+
Recent Games
@@ -282,13 +282,6 @@ % endfor
- - % if total_games > 10: -

- More... -

- % endif -
% endif diff --git a/xonstat/views/player.py b/xonstat/views/player.py index 26da28f..faabcba 100644 --- a/xonstat/views/player.py +++ b/xonstat/views/player.py @@ -119,6 +119,7 @@ def get_games_played(player_id): # sort the resulting list by # of games played games_played = sorted(games_played, key=lambda x:x.games) games_played.reverse() + return games_played -- 2.39.2