Slight page refactoring, text pages, tooltips

This commit is contained in:
Simon Martens
2025-02-22 00:11:25 +01:00
parent 0d79239fd8
commit 29576ec7a0
47 changed files with 2079 additions and 295 deletions

View File

@@ -55,6 +55,10 @@ func (r *Reihen) Image() string {
return r.GetString(F_IMAGE)
}
func (r *Reihen) ImagePath() string {
return "/api/files/" + r.TableName() + "/" + r.Id + "/" + r.Image()
}
func (r *Reihen) SetImage(image *filesystem.File) {
r.Set(F_IMAGE, image)
}