Rework icons layout for xnet lists
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 24 Jul 2006 10:04:49 +0000 (10:04 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 24 Jul 2006 10:04:49 +0000 (10:04 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@623 839d8a87-29fc-0310-9880-83ba4fa771e5

templates/xnetlists/index.tpl

index ddd4df6..62267f8 100644 (file)
@@ -51,9 +51,7 @@ croix verte te permet de t'inscrire, apr
 
 <table cellpadding="0" cellspacing="0" class='large'>
   <tr>
-    <th>{icon name=wrench title="Modérateur"}</th>
-    <th>{icon name=weather_cloudy title="Liste privée"}</th>
-    <th>Liste</th>
+    <th colspan="2">Liste</th>
     <th>Description</th>
     <th>Diffusion</th>
     <th>Inscription</th>
@@ -63,17 +61,14 @@ croix verte te permet de t'inscrire, apr
   {foreach from=$listes item=l}
   <tr>
     <td>
-      {if $l.own}
-      {icon name=wrench title="Modérateur"}
-      {/if}
+      <a href="mailto:{$l.list}@{$asso.mail_domain}">{icon name=email title="mail"}</a>
     </td>
     <td>
-      {if $l.priv}
+      {if $l.own}
+      {icon name=wrench title="Modérateur"}
+      {elseif $l.priv}
       {icon name=weather_cloudy title="Liste privée"}
       {/if}
-    </td>
-    <td>
-      <a href="mailto:{$l.list}@{$asso.mail_domain}">{icon name=email title="mail"}</a>
       <a href='{$platal->ns}lists/members/{$l.list}'>{$l.list}</a>
     </td>
     <td>{$l.desc}</td>