A bit tweaking session title output

This commit is contained in:
Pavel Shevaev 2023-11-30 23:34:47 +03:00
parent ad82201769
commit 5881b6331a
1 changed files with 2 additions and 2 deletions

View File

@ -94,8 +94,8 @@ class Session
function getTitle() : string function getTitle() : string
{ {
$finished_plans = $this->countFinishedPlans(); $finished_plans = $this->countFinishedPlans();
return "Session ({$this->id}) '{$this->name}' (plans:$finished_plans/".sizeof($this->plans)." devices:".sizeof($this->getDevices())." ?:".sizeof($this->ignored_devices) . return "**Session ({$this->id}) '{$this->name}' (plans:$finished_plans/".sizeof($this->plans)." devices:".sizeof($this->getDevices())." ?:".sizeof($this->ignored_devices) .
') (' . round($this->getDuration()/60, 1) . ' min)'; ') (' . round($this->getDuration()/60, 1) . ' min)**';
} }
function getDuration() : int function getDuration() : int