From 022907bd2c4a72a8a3ce6468823b4a2111c88596 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Apr 16 2026 15:50:14 +0000 Subject: [PATCH 1/2] make templates compatible for jinja 2.10 --- diff --git a/www/kojiweb/templates/builds.html.j2 b/www/kojiweb/templates/builds.html.j2 index 407e961..c12c431 100644 --- a/www/kojiweb/templates/builds.html.j2 +++ b/www/kojiweb/templates/builds.html.j2 @@ -10,9 +10,9 @@ Latest #elif state != None {{ util.stateName(state)|capitalize }} #endif -#if draft is false +#if draft and draft is not sameas none Nondraft -#elif draft is true +#elif draft Draft #endif #if type @@ -80,16 +80,16 @@ in tag {{ tag.name }} Content Generator: + + - - + + @@ -89,7 +89,7 @@ in tag {{ tag.name }} Content Generator: