Clean up home_stats code

This commit is contained in:
Jonathan Wong 2015-10-11 17:53:46 -07:00
parent 2ea6ae648c
commit 9968f8b6dd
2 changed files with 10 additions and 10 deletions

View file

@ -65,7 +65,7 @@ DOCUMENTATION :: END
%>
% if data:
% if data[0]['rows'] or data[1]['rows'] or data[2]['rows'] or data[3]['rows'] or data[4]['rows'] or data[5]['rows']:
% if data[0]['rows']:
<ul class="list-unstyled">
% for top_stat in data:
% if top_stat['stat_id'] == 'top_tv' and top_stat['rows']: