FIX: Laden screen below

This commit is contained in:
Simon Martens
2026-01-23 17:50:49 +01:00
parent 0bd614712f
commit de81e199f4
8 changed files with 1848 additions and 1802 deletions

View File

@@ -3,6 +3,7 @@ package controllers
import (
"fmt"
"net/http"
"net/url"
"slices"
"strings"
@@ -236,7 +237,7 @@ func (p *OrtEditPage) POST(engine *templating.Engine, app core.App) HandleFunc {
}
}(app, place.Id, nameChanged)
redirect := fmt.Sprintf("/ort/%s/", id)
redirect := fmt.Sprintf("/ort/%s/edit?saved_message=%s", id, url.QueryEscape("Änderungen gespeichert."))
return e.Redirect(http.StatusSeeOther, redirect)
}
}