diff --git a/src/main.rs b/src/main.rs index 3670c15..eee81d6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -386,7 +386,7 @@ async fn main() -> Result<()> { match arg { None => { if let Some(task) = tasks.get_current_task() { - println!("Change History:"); + println!("Change History for {}:", task.get_id()); for e in once(&task.event).chain(task.props.iter().rev()) { println!("{} {} [{}]", format_timestamp_full(&e.created_at), diff --git a/src/tasks.rs b/src/tasks.rs index 8d877ef..b5e3e26 100644 --- a/src/tasks.rs +++ b/src/tasks.rs @@ -279,12 +279,12 @@ impl TasksRelay { } // TODO show history for active tags ( - "Your Time-Tracking History:".to_string(), + format!("Time-Tracking History for {}:", self.get_displayname(&key)), Box::from(full.into_iter()), ) } else { ( - "You have nothing time-tracked yet".to_string(), + "Nothing time-tracked yet".to_string(), Box::from(empty()), ) }