Bind friendly planning quotes bookings and explicit hotseat consent (by Codex)
This commit is contained in:
1 parent
cbde7b367e
commit
15d2ac0a4d
20 files changed
+422
-22
No files matched your search
@@ -48,6 +48,7 @@ std::string App::render_postpone() {
|
||||
}
|
||||
|
||||
std::string App::render_friendlies() {
|
||||
if (engine_mode_) return engine_friendlies_view();
|
||||
const auto calendar = planning_calendar();
|
||||
const auto own = manager(snap()).value("club", "");
|
||||
const auto *league = world_->find("competitions", calendar.at("friendly_league"));
|
||||
@@ -101,6 +102,7 @@ std::string App::render_friendlies() {
|
||||
}
|
||||
|
||||
std::string App::render_planning_dialog() {
|
||||
if (engine_mode_) return engine_friendly_dialog();
|
||||
if (planning_dialog_.empty()) return {};
|
||||
const auto calendar = planning_calendar();
|
||||
const auto *opponent = world_->find("clubs", calendar.at("opponent"));
|
||||
|
||||
Reference in new issue
Block a user