Trim the career's ticker, news, line-up and transfer wording; show world names in contracts

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Fable 5.2 committed 2026-11-14 10:37:49 +01:00
1 parent 46d0341829
commit 46cd93472f
6 files changed
+29 -14

No files matched your search

+3 -2
View File
@@ -55,8 +55,9 @@ std::string App::render_news_feed(const Json &data) {
out += btn("news-open", esc(name), "news-message-title",
"id=\"news-read-" + id + "\" data-id=\"" + id +
"\" aria-label=\"Nachricht lesen: " + esc(name) + "\"");
out += "<p class=\"news-excerpt\">" + esc(m.at("body").get<std::string>()) +
"</p></div><div class=\"news-row-actions\">";
// a one-line message is its own headline; the excerpt would only repeat it
out += (m.at("body").get<std::string>() == name ? std::string() : "<p class=\"news-excerpt\">" + esc(m.at("body").get<std::string>()) + "</p>") +
"</div><div class=\"news-row-actions\">";
// Native CSS line-art has no private bitmap or SVG dependency.
out += btn(
"news-move",