|
@@ -207,7 +207,7 @@ TabJs = {'select':[], 'desc':[]} |
|
|
<li class="span2"> |
|
|
<li class="span2"> |
|
|
<div class="media"> |
|
|
<div class="media"> |
|
|
<a class="pull-left" href="${filelink}"> |
|
|
<a class="pull-left" href="${filelink}"> |
|
|
<img class="media-object" src="${thumb}" /> |
|
|
|
|
|
|
|
|
<img class="media-object" src="${thumb}" alt="Fichier media" /> |
|
|
</a> |
|
|
</a> |
|
|
</div> |
|
|
</div> |
|
|
</li> |
|
|
</li> |
|
@@ -291,7 +291,7 @@ TabJs = {'select':[], 'desc':[]} |
|
|
<td style="width: 80px;"> |
|
|
<td style="width: 80px;"> |
|
|
<span class="preview"> |
|
|
<span class="preview"> |
|
|
{% if (file.thumbnailUrl) { %} |
|
|
{% if (file.thumbnailUrl) { %} |
|
|
<a href="{%=file.url%}" title="{%=file.name%}" download="{%=file.name%}" data-gallery><img src="{%=file.thumbnailUrl%}"></a> |
|
|
|
|
|
|
|
|
<a href="{%=file.url%}" title="{%=file.name%}" download="{%=file.name%}" data-gallery><img src="{%=file.thumbnailUrl%}" alt="{%=file.name%}"></a> |
|
|
{% } %} |
|
|
{% } %} |
|
|
</span> |
|
|
</span> |
|
|
</td> |
|
|
</td> |
|
@@ -345,7 +345,7 @@ TabJs = {'select':[], 'desc':[]} |
|
|
% if len(ListEvent)==0: |
|
|
% if len(ListEvent)==0: |
|
|
<tr> |
|
|
<tr> |
|
|
<td style="text-align:center;" colspan="2"> |
|
|
<td style="text-align:center;" colspan="2"> |
|
|
% if NotFoundTitle: |
|
|
|
|
|
|
|
|
% if NotFoundTitle: |
|
|
<i>${NotFoundTitle}</i> |
|
|
<i>${NotFoundTitle}</i> |
|
|
% else: |
|
|
% else: |
|
|
<i>Désolé, Il n'y a rien dans l'historique.</i> |
|
|
<i>Désolé, Il n'y a rien dans l'historique.</i> |
|
@@ -415,9 +415,9 @@ TabJs = {'select':[], 'desc':[]} |
|
|
<div class="media"> |
|
|
<div class="media"> |
|
|
<a class="pull-left" href="/entity/${Entity.entity_type}/${tiers.slug}"> |
|
|
<a class="pull-left" href="/entity/${Entity.entity_type}/${tiers.slug}"> |
|
|
% if tiers.ThumbLinks: |
|
|
% if tiers.ThumbLinks: |
|
|
<img class="media-object" src="${tiers.ThumbLinks.pop()}" /> |
|
|
|
|
|
|
|
|
<img class="media-object" src="${tiers.ThumbLinks.pop()}" alt="${tiers.slug}" /> |
|
|
% else: |
|
|
% else: |
|
|
<img class="media-object" src="/img/no-image-thumb.jpg" /> |
|
|
|
|
|
|
|
|
<img class="media-object" src="/img/no-image-thumb.jpg" alt="no-image" /> |
|
|
% endif |
|
|
% endif |
|
|
</a> |
|
|
</a> |
|
|
<div class="media-body"> |
|
|
<div class="media-body"> |
|
@@ -539,10 +539,8 @@ TabJs = {'select':[], 'desc':[]} |
|
|
% endfor |
|
|
% endfor |
|
|
% else: |
|
|
% else: |
|
|
<div class="active item" id="UserPic0"> |
|
|
<div class="active item" id="UserPic0"> |
|
|
<div style="margin:auto;width:170px;"> |
|
|
|
|
|
<center> |
|
|
|
|
|
|
|
|
<div class="center" style="margin:auto;width:170px;"> |
|
|
<img src="/img/no-image.jpg" class="img-polaroid" alt="Photo ${SallePhy.name}" style="max-height:130px;" /> |
|
|
<img src="/img/no-image.jpg" class="img-polaroid" alt="Photo ${SallePhy.name}" style="max-height:130px;" /> |
|
|
<center> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
% endif |
|
|
% endif |
|
@@ -655,13 +653,14 @@ TabJs = {'select':[], 'desc':[]} |
|
|
<th colspan="3">Sponsors ${Year}</th> |
|
|
<th colspan="3">Sponsors ${Year}</th> |
|
|
</tr> |
|
|
</tr> |
|
|
</thead> |
|
|
</thead> |
|
|
<tr> |
|
|
|
|
|
<% num = -1 %> |
|
|
<% num = -1 %> |
|
|
% for entity in request.sponsors(Year): |
|
|
% for entity in request.sponsors(Year): |
|
|
% for thumb in entity.ThumbLinks: |
|
|
% for thumb in entity.ThumbLinks: |
|
|
<% num+=1 %> |
|
|
<% num+=1 %> |
|
|
% if (num%3==0): |
|
|
|
|
|
</tr><tr> |
|
|
|
|
|
|
|
|
% if (num==0): |
|
|
|
|
|
<tr> |
|
|
|
|
|
% elif (num%3==0): |
|
|
|
|
|
</tr><tr> |
|
|
% endif |
|
|
% endif |
|
|
<td> |
|
|
<td> |
|
|
<a href="/entity/${entity.get_entity_type.entity_type}/${entity.slug}"> |
|
|
<a href="/entity/${entity.get_entity_type.entity_type}/${entity.slug}"> |
|
@@ -679,13 +678,14 @@ TabJs = {'select':[], 'desc':[]} |
|
|
<th colspan="3">Exposants ${Year}</th> |
|
|
<th colspan="3">Exposants ${Year}</th> |
|
|
</tr> |
|
|
</tr> |
|
|
</thead> |
|
|
</thead> |
|
|
<tr> |
|
|
|
|
|
<% num = -1 %> |
|
|
<% num = -1 %> |
|
|
% for entity in request.exposants(Year): |
|
|
% for entity in request.exposants(Year): |
|
|
% for thumb in entity.ThumbLinks: |
|
|
% for thumb in entity.ThumbLinks: |
|
|
<% num+=1 %> |
|
|
<% num+=1 %> |
|
|
% if (num%3==0): |
|
|
|
|
|
</tr><tr> |
|
|
|
|
|
|
|
|
% if (num==0): |
|
|
|
|
|
<tr> |
|
|
|
|
|
% elif (num%3==0): |
|
|
|
|
|
</tr><tr> |
|
|
% endif |
|
|
% endif |
|
|
<td> |
|
|
<td> |
|
|
<a href="/entity/${entity.get_entity_type.entity_type}/${entity.slug}"> |
|
|
<a href="/entity/${entity.get_entity_type.entity_type}/${entity.slug}"> |
|
|