Show links to promotion with the color of the promo
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 17 Mar 2007 18:19:03 +0000 (18:19 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 17 Mar 2007 18:19:03 +0000 (18:19 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1583 839d8a87-29fc-0310-9880-83ba4fa771e5

htdocs/css/xnet.css
templates/xnet/groupes.tpl

index b6bfb1d..6448953 100644 (file)
@@ -335,6 +335,10 @@ td.oval2 {
 
 .oval a, .oval2 a { color: #d0c198; }
 .oval a.has_site { color: white; }
+.jone a { color: #FF9; }
+.rouje a { color: #D88; }
+.jone a.has_site { color: #FE0; }
+.rouje a.has_site { color: #D00; }
 
 #content td.oval, #content td.oval2 {
     font-size: 90%;
index 2477739..453a6dc 100644 (file)
@@ -48,7 +48,7 @@
         {if $doms || $i is even}
         <tr>
         {/if}
-          <td class="oval{if $doms}2{/if}">
+          <td class="oval{if $doms}2{/if} {if $cat eq promotions}{if $i 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}