2024-04-19 13:54:38 +00:00
|
|
|
package renderer
|
|
|
|
|
2024-04-24 10:18:05 +00:00
|
|
|
import (
|
|
|
|
"net/http"
|
|
|
|
|
|
|
|
)
|
|
|
|
|
2024-04-25 12:45:03 +00:00
|
|
|
const solidaritymobilityMenu = "solidarity_mobility"
|
2024-04-24 10:18:05 +00:00
|
|
|
|
2024-04-25 13:16:06 +00:00
|
|
|
func (renderer *Renderer) SolidarityMobilityDiverList( w http.ResponseWriter, r *http.Request) {
|
2024-04-25 12:45:03 +00:00
|
|
|
files:= renderer.ThemeConfig.GetStringSlice("views.solidarity_mobility.list.files")
|
|
|
|
state := NewState(r, renderer.ThemeConfig, solidaritymobilityMenu)
|
2024-04-24 10:18:05 +00:00
|
|
|
|
2024-04-24 10:49:03 +00:00
|
|
|
|
2024-04-25 12:45:03 +00:00
|
|
|
renderer.Render("solidarity_mobility", w, r, files, state)
|
2024-04-24 10:18:05 +00:00
|
|
|
|
|
|
|
}
|