From 1ff0a5dfb4b5b8875ae7a357a3c560003ccce48b 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 Signed-off-by: Katrin Fischer --- 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 92221e8141..685a0357fc 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.39.5