mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-19 05:21:03 +00:00
Fix priority thresholds (#1203)
This commit is contained in:
@@ -22,14 +22,16 @@
|
||||
{%- if p >= 7 or host_fn_count > 0 -%}
|
||||
{%- set prio = "‼️ HIGH" -%}
|
||||
{%- set text = "This is a **high priority** release and you must upgrade as as soon as possible." -%}
|
||||
{%- elif p >= 5 -%}
|
||||
{%- elif p >= 3 -%}
|
||||
{%- set prio = "❗️ Medium" -%}
|
||||
{%- set text = "This is a medium priority release and you should upgrade in a timely manner." -%}
|
||||
{%- elif p >= 3 -%}
|
||||
{%- else -%}
|
||||
{%- set prio = "Low" -%}
|
||||
{%- set text = "This is a low priority release and you may upgrade at your convenience." -%}
|
||||
{%- endif -%}
|
||||
|
||||
<!-- detected max prio is: {{p}} -->
|
||||
|
||||
{%- if prio -%}
|
||||
{{prio}}: {{text}}
|
||||
{%- else -%}
|
||||
|
||||
Reference in New Issue
Block a user