[(#SET{defaut_tri,#ARRAY{ date,#ENV{date_sens,-1}, statut,1, fonction,1, descriptif,1, id_job,1, points,-1 }}) ]<B_liste_jobs> #ANCRE_PAGINATION #SET{nb,#REM|queue_sleep_time_to_next_job} #SET{date_next,#VAL{Y-m-d H:i:s}|date{#ENV{date}|concat{' +',#GET{nb},' seconds'}|strtotime}|date_relative}

[
(#ENV*{titre,#GRAND_TOTAL|singulier_ou_pluriel{queue_one_job_in_queue,queue_nb_jobs_in_queue}}) <:queue_next_job_scheduled|label_ponctuer:> [(#GET{date_next})]
]
[(#TRI{date,<:date:>,ajax})] | [(#TRI{fonction,<:queue_fonction_label:>,ajax})] | [(#TRI{descriptif,<:info_descriptif|label_nettoyer:>,ajax})] |
--- | --- | --- | ---
<BOUCLE_liste_jobs(jobs) {id_job?} {where?} {status?} {recherche?} {tri #ENV{par,date}} {pagination #ENV{nb,20}}> [(#LANG|changer_typo)]

[(#DATE|date_relative|spip_ucfirst)] [(#STATUS|non)
<:queue_statut_en_cours:>] [(#PRIORITE|oui)
<:queue_priorite_tache|label_ponctuer:> #PRIORITE]

#SET{id_args,#VAL{job}|concat{#ID_JOB,_args}} [(#AUTORISER{administrer,queue}|oui)] #FONCTION [(#AUTORISER{administrer,queue}|oui)
[(#BOITE_OUVRIR{<:queue_args_fonction_label{fonction=#FONCTION}:>}|inserer_attribut{id,#GET{id_args}})]

    [(#ARGS*|unserialize|sinon{#ARRAY}|var_export{#EVAL{true}}|htmlspecialchars)]

#BOITE_FERMER
]

[(#DESCRIPTIF|ptobr)] <B_liens>
<:queue_liens_label|label_ponctuer:> <BOUCLE_liens(jobs_liens) {id_job} {", "}> [(#OBJET|objet_info{texte_objet}|_T)] <:info_numero_abbreviation:>#ID_OBJET </BOUCLE_liens>

[(#AUTORISER{annuler,job,#ID_JOB}|oui)
[(#BOUTON_ACTION{[(#CHEMIN_IMAGE{symbol-play-16.svg}|balise_svg)]<:queue_executer_maintenant:>,#URL_ACTION_AUTEUR{forcer_job,#ID_JOB,#SELF}, btn btn_icone btn_executer})] [(#BOUTON_ACTION{[(#CHEMIN_IMAGE{supprimer-16.svg}|balise_img)]<:annuler:>,#URL_ACTION_AUTEUR{annuler_job,#ID_JOB,#SELF},ajax btn btn_link btn_icone btn_annuler})]
]

</BOUCLE_liste_jobs> [(#REM|changer_typo)]

[
]
</B_liste_jobs> [
(#ENV*{sinon,<:queue_no_job_in_queue:>})
]