R-621: the hold panel points at the log the hold kept

A held app's page now says, inside the hold panel, that the app's own log from
before it was stopped was kept, with a Napló link to the logs page that serves
it (0b93e1a). Shown only for an update hold with a non-empty kept log
(Manager.HoldLogKept). New copy through the bundle (hu + en), parity case
app_info_hold_log captured when born.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
2026-10-06 01:29:08 +02:00
parent ff1758a21c
commit 0f2eab7a3e
8 changed files with 701 additions and 1 deletions
@@ -468,6 +468,18 @@ func i18nCases() []i18nCase {
d["AppInfo"] = st.Meta.AppInfo
return d
}})
// R-621: the hold panel's "the app's own log was kept" line and its Napló link, captured when born.
base = append(base, i18nCase{"app_info_hold_log", "app_info", func() map[string]interface{} {
d := i18nLayoutData("stacks", "AdventureLog")
st := stacks.Stack{Name: "adventurelog", Deployed: true, State: stacks.StateStopped,
HoldReason: "Az AdventureLog frissítése nem sikerült, az alkalmazás leállítva marad."}
st.Meta = stacks.Metadata{DisplayName: "AdventureLog", Slug: "adventurelog"}
d["Stack"] = st
d["Meta"] = st.Meta
d["AppInfo"] = st.Meta.AppInfo
d["HoldLogKept"] = true
return d
}})
return base
}