activity: more presentable cards, fixes

fixed some missing data (being stored and being shown), improved layout,
also usernames are now injected by the route.
This commit is contained in:
Harvey Tindall
2023-10-20 22:16:40 +01:00
parent a73dfddd3f
commit 1032e4e747
9 changed files with 113 additions and 43 deletions

View File

@@ -232,7 +232,7 @@ func (app *appContext) loadRoutes(router *gin.Engine) {
api.DELETE(p+"/profiles/referral/:profile", app.DisableReferralForProfile)
}
api.GET(p+"/activity", app.GetActivities)
api.POST(p+"/activity", app.GetActivities)
if userPageEnabled {
user.GET("/details", app.MyDetails)