From 851f1474f843d3246435b571971aeba31e1c9913 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Tue, 29 Nov 2022 15:34:28 +0100 Subject: [PATCH] [the-new-hotness] Add new templates to config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reflect changes introduced in https://github.com/fedora-infra/the-new-hotness/pull/537 Signed-off-by: Michal Konečný --- roles/openshift-apps/the-new-hotness/templates/config.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/openshift-apps/the-new-hotness/templates/config.toml b/roles/openshift-apps/the-new-hotness/templates/config.toml index fb475acf1a..261e9506ba 100644 --- a/roles/openshift-apps/the-new-hotness/templates/config.toml +++ b/roles/openshift-apps/the-new-hotness/templates/config.toml @@ -112,7 +112,12 @@ product = "Fedora" version = "rawhide" keywords = "FutureFeature,Triaged" bug_status = "NEW" +{% if env == "staging" %} +short_desc_template="%(name)s-%(retrieved_version)s is available", +short_desc_template_more_versions="New versions of %(name)s available.", +{% else %} short_desc_template = "%(name)s-%(latest_upstream)s is available" +{% endif %} description_template = """ Releases retrieved: %(retrieved_versions)s Upstream release that is considered latest: %(latest_upstream)s