m.perms='admin' AS admin,
m.origine='X' AS x,
u.perms!='pending' AS inscrit,
- m.uid
+ m.uid, e.email AS actif
FROM groupex.membres AS m
LEFT JOIN auth_user_md5 AS u ON ( u.user_id = m.uid )
LEFT JOIN aliases AS a ON ( a.id = m.uid AND a.type='a_vie' )
+ LEFT JOIN emails AS e ON ( e.flags = 'active' AND e.uid = m.uid)
WHERE m.asso_id = {?} $ini
AND (m.origine != 'X' OR u.perms != 'pending' OR m.email IS NOT NULL)
+ GROUP BY m.uid
ORDER BY $tri
LIMIT {?},{?}", $globals->asso('id'), $ofs*NB_PER_PAGE, NB_PER_PAGE);
$page->assign('ann', $ann);
{/if}
{if $m.femme}•{/if}{$m.prenom} {$m.nom|strtoupper}
{if $m.x}</a>{/if}
- {if $m.admin}</strong>{/if}</td>
+ {if $m.admin}</strong>{/if}
+ {if $m.inscrit && !$m.actif}
+ <a href="https://www.polytechnique.org/marketing/broken/{$m.email}">{icon name=error title="Recherche d'email"}</a>
+ {assign var=broken value=true}
+ {/if}</td>
<td>{if $m.admin}<strong>{/if}{$m.promo}{if $m.admin}</strong>{/if}</td>
<td class="center">
{if $m.inscrit}
{/foreach}
</p>
+{if $broken}
+<p class="smaller">
+ {icon name=error} : Les camarades dont la ligne contient ce symbole n'ont plus d'adresse de redirection et ne peuvent donc
+ plus ĂȘtre contacter via leur adresse Polytechnique.org. Si tu connais sa nouvelle adresse, tu peux nous la communiquer en
+ cliquant sur le symbole.
+</p>
+{/if}
+
{* vim:set et sw=2 sts=2 sws=2: *}