Add map to pool import overview

For my own debugging really
This commit is contained in:
Eli Ribble 2026-02-16 01:11:09 +00:00
parent 77423a813c
commit 0f7e01e8a2
No known key found for this signature in database
4 changed files with 213 additions and 7 deletions

View file

@ -13,9 +13,10 @@ import (
)
type ContentPoolDetail struct {
Upload platform.UploadPoolDetail
URL ContentURL
User User
CSVFileID int32
Upload platform.UploadPoolDetail
URL ContentURL
User User
}
type ContentPoolList struct {
Uploads []platform.PoolUpload
@ -78,9 +79,10 @@ func getPoolUploadByID(w http.ResponseWriter, r *http.Request, u *models.User) {
return
}
data := ContentPoolDetail{
Upload: detail,
URL: newContentURL(),
User: userContent,
CSVFileID: int32(file_id),
Upload: detail,
URL: newContentURL(),
User: userContent,
}
html.RenderOrError(w, "sync/pool-by-id.html", data)
}