Mercurial > sci
diff scid/page-jobresults.c @ 46:16f1c72d1635
scid: simplify theme code
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 15 Aug 2022 17:57:34 +0200 |
parents | 6854efe15210 |
children | 71cd8447e3a4 |
line wrap: on
line diff
--- a/scid/page-jobresults.c Thu Aug 11 21:24:50 2022 +0200 +++ b/scid/page-jobresults.c Mon Aug 15 17:57:34 2022 +0200 @@ -34,7 +34,7 @@ if (!(results = db_jobresult_list_by_job(id))) pageutil_status(r, KHTTP_404); else { - data = theme_page_jobresults(util_json_pack("{sI so}", + data = theme_render("onPageJobresults", util_json_pack("{sI so}", "job_id", (json_int_t)id, "jobresults", results ));