Improve display of results

This commit is contained in:
Christoph Hagen
2025-02-07 14:08:51 +01:00
parent 7ebc9d8404
commit dc7ab6fb15
7 changed files with 276 additions and 84 deletions

View File

@@ -69,6 +69,7 @@ struct LocalizedPageContentView: View {
let linkingPosts = content.posts.filter { $0.linkedPage == page }
TextWithPopup(
symbol: .ipadAndArrowForward,
title: "Post linking to page",
text: "\(linkingPosts.count) linking posts",
items: linkingPosts.map { $0.title(in: language) })
}.foregroundStyle(.secondary)