From a14445a816788a28c283e088629578e24a178a02 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 10 Jan 2024 14:22:13 +0000 Subject: [PATCH] Bug 35681: Add to template This patch adds colors to the skeleton atomic update to hint at their use --- installer/data/mysql/atomicupdate/skeleton.pl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/installer/data/mysql/atomicupdate/skeleton.pl b/installer/data/mysql/atomicupdate/skeleton.pl index 92221e8141a..685a0357fcb 100755 --- a/installer/data/mysql/atomicupdate/skeleton.pl +++ b/installer/data/mysql/atomicupdate/skeleton.pl @@ -1,4 +1,5 @@ use Modern::Perl; +use Term::ANSIColor; return { bug_number => "BUG_NUMBER", @@ -28,5 +29,11 @@ return { # HTML customizations say $out "Added 'XXX' HTML customization"; + + # Other information + say $out colored("Use red for danger/failure", 'red'); + say $out colored("Use green for success", 'green'); + say $out colored("Use yellow for warning/a call to action", 'yellow'); + say $out colored("Use blue for further information", 'blue'); }, }; -- 2.44.0