Website Summary Files Commits Branches @commit @diff @stats
path: root / src / UserInterface / VenueConsoleUI.cpp
diff options
context:
space:
mode:
Commitad74e975c5ef569a947b5c40e588004052505f3b (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-08 08:37:59 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-08 08:37:59 +0300
Files5766cf41baeb8f5869d79f422e40cb2ebe0978e5 /src/UserInterface/VenueConsoleUI.cpp
FMI-OOP-P1_TicketSystem-ad74e975c5ef569a947b5c40e588004052505f3b.tar
FMI-OOP-P1_TicketSystem-ad74e975c5ef569a947b5c40e588004052505f3b.tar.gz
FMI-OOP-P1_TicketSystem-ad74e975c5ef569a947b5c40e588004052505f3b.zip
Parent29dbd46d8b70787c942c16bf0538884a28ed4796 (diff)
Autocommit at 08.05.2022 @ 08:37
1 files changed, 8 insertions, 2 deletions
-rw-r--r--src/UserInterface/VenueConsoleUI.cpp10
diff --git a/src/UserInterface/VenueConsoleUI.cpp b/src/UserInterface/VenueConsoleUI.cpp
index db9b58b..4c3f8cf 100644
--- a/src/UserInterface/VenueConsoleUI.cpp
+++ b/src/UserInterface/VenueConsoleUI.cpp
@@ -148,8 +148,14 @@ void command_mostWatched() {
List<Event> top = es->queryMostWatched(10);
resetOrderedList(1);
- for (unsigned i = 0; i < top.get_count(); i++)
- printOrderedListElem(top[i].get_name());
+ for (unsigned i = 0; i < top.get_count(); i++) {
+ _printOrderedListBeginning();
+ print(top[i].get_name());
+ print(" || Hall ");
+ print(top[i].get_hall().get_number());
+ print(" @ ");
+ printLine(top[i].get_date());
+ }
pressEnterToContinue();
}