Port planning menus and indoor tables (by Codex)

This commit is contained in:
Codex committed 2026-10-24 00:38:12 +02:00
1 parent 13461c693a
commit 9a93c4fcc8
32 files changed
+1667 -169

No files matched your search

+7 -1
View File
@@ -885,6 +885,12 @@ std::string App::render_menu(const std::string &key) {
std::string body;
if (key == "tables" || key == "strengths" || key == "league" || key == "other")
body = render_reports(key);
else if (key == "postpone")
body = render_postpone();
else if (key == "friendlies")
body = render_friendlies();
else if (key == "indoor")
body = render_indoor();
else if (key == "training")
body = render_training();
else if (key == "tactics")
@@ -903,5 +909,5 @@ std::string App::render_menu(const std::string &key) {
else
throw editor::Error("Diese native Ansicht ist noch nicht verfügbar.");
return "<div class=\"fill\" style=\"z-index:100;\">" +
window(title(key), body) + "</div>";
window(key == "postpone" ? "Spiel verlegen" : title(key), body) + "</div>";
}