Correct color of promotions on the list of promotions page. Choosing color is no longer based on the column in the table, but correctly uses the promotion's year.
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1871
839d8a87-29fc-0310-9880-
83ba4fa771e5
{if $doms || $i is even}
<tr>
{/if}
- <td class="oval{if $doms}2{/if} {if $cat eq promotions}{if $i is odd}jone{else}rouje{/if}{/if}">
+ <td class="oval{if $doms}2{/if} {if $cat eq promotions}{if $g.diminutif is odd}jone{else}rouje{/if}{/if}">
<a href="{$g.diminutif}/" {if $g.site}class="has_site"{/if}>{$g.nom}</a>
</td>
{if !$doms && $i is even && $smarty.foreach.all.last}<td></td>{/if}