Add map to pool import overview
For my own debugging really
This commit is contained in:
parent
77423a813c
commit
0f7e01e8a2
4 changed files with 213 additions and 7 deletions
14
sync/pool.go
14
sync/pool.go
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue