evol: mise à jour renderers bénéficiaires et covoiturage
This commit is contained in:
@@ -105,11 +105,12 @@ func (r *Renderer) templateFile(file string) string {
|
||||
type RenderState struct {
|
||||
icons.IconSet
|
||||
LayoutState
|
||||
UserID string
|
||||
UserClaims map[string]any
|
||||
Group storage.Group
|
||||
Roles any
|
||||
ViewState any // This is a state specific to a given view
|
||||
UserID string
|
||||
UserClaims map[string]any
|
||||
Group storage.Group
|
||||
Roles any
|
||||
ViewState any // This is a state specific to a given view
|
||||
DynamicData any // Data to be serialized as JSON in a <script> tag for safe JS consumption
|
||||
}
|
||||
|
||||
func NewState(r *http.Request, themeConfig *viper.Viper, menuState string) RenderState {
|
||||
|
||||
Reference in New Issue
Block a user