mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-30 01:35:32 +00:00
Slight page refactoring, text pages, tooltips
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user