From d4eeb1c345b30c5d2dfd899e60001afb4b6bbe0c Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Sat, 3 Jun 2023 15:38:28 +0200 Subject: [PATCH] Show information stored in InfoXML part --- src/model/onkostar_editor.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/model/onkostar_editor.rs b/src/model/onkostar_editor.rs index a6fdf8d..da19d02 100644 --- a/src/model/onkostar_editor.rs +++ b/src/model/onkostar_editor.rs @@ -51,8 +51,10 @@ impl OnkostarEditor { pub fn list_forms(&self) { println!( - "{}", - style("In der Datei sind folgende Inhalte gespeichert\n").bold() + "Die Datei wurde am {} mit {} in Version {} erstellt.\n\nFolgende Inhalte sind gespeichert\n", + style(&self.info_xml.datum_xml).yellow(), + style(&self.info_xml.name).yellow(), + style(&self.info_xml.version).yellow() ); println!( "{} {}",