Connect Almanac UI to revision-bound career history (by Codex)

This commit is contained in:
Codex committed 2026-10-28 19:08:42 +01:00
1 parent 4b6c18f654
commit 959154c3c0
18 files changed
+405 -44

No files matched your search

+1
View File
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-3.0-only
bool App::almanac_action(const std::string &action, Rml::Element *target) {
if (!action.starts_with("alm-")) return false;
if (engine_mode_) return engine_almanac_action(action,target);
if (menu_ != "almanac" || !source_) return true;
const auto id = target ? target->GetAttribute<Rml::String>("data-id", "") : "";
if (action == "alm-year-cancel" || (action == "alm-back" && report_picker_ == "year")) {