Merge branch 'tr4ck3ur/various_fixes_2017' of JM2L/jm2l into master
This commit is contained in:
@@ -693,8 +693,15 @@ TabJs = {'select':[], 'desc':[]}
|
||||
<th colspan="3">Sponsors ${Year}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<% num = -1 %>
|
||||
% for entity in request.sponsors(Year):
|
||||
<%
|
||||
import random
|
||||
num = -1
|
||||
sponsors = list(request.sponsors(Year))
|
||||
random.shuffle(sponsors)
|
||||
exposants = list(request.exposants(Year))
|
||||
random.shuffle(exposants)
|
||||
%>
|
||||
% for entity in sponsors:
|
||||
% for thumb in entity.ThumbLinks:
|
||||
<% num+=1 %>
|
||||
% if (num==0):
|
||||
@@ -719,7 +726,7 @@ TabJs = {'select':[], 'desc':[]}
|
||||
</tr>
|
||||
</thead>
|
||||
<% num = -1 %>
|
||||
% for entity in request.exposants(Year):
|
||||
% for entity in exposants:
|
||||
% for thumb in entity.ThumbLinks:
|
||||
<% num+=1 %>
|
||||
% if (num==0):
|
||||
|
||||
Reference in New Issue
Block a user