{{#restrict block=true}}{{/restrict}} {{:admin_header title="Liste des scrutins"}} {{#restrict section="users" level="admin"}} {{/restrict}} {{#list select="$$.name AS 'Scrutin'" order=1 desc=true}} {{:assign var="qs" name=$name desc=$desc question=$question activity_see=$activity_see}} {{:assign qs=$qs|http_build_query}} {{:assign url="!voter/results.php?%s"|args:$qs}} {{*Forbid visibility if not member of activity*}} {{if $activity_see}} {{#sql select="*" tables="services_users" where="id_service = :id_act AND id_user = :id_user" :id_act=$activity_see :id_user=$logged_user.id count="TRUE"}} {{if !$count}} {{:continue 2}} {{/if}} {{/sql}} {{/if}}
Aucun scrutin.
{{/list}}