2024-05-02 07:54:51 +00:00
|
|
|
package renderer
|
|
|
|
|
|
|
|
import (
|
2024-06-07 09:51:01 +00:00
|
|
|
"fmt"
|
2024-05-02 07:54:51 +00:00
|
|
|
"net/http"
|
|
|
|
)
|
|
|
|
|
|
|
|
const solidarityserviceMenu = "solidarity_service"
|
|
|
|
|
2024-06-07 09:51:01 +00:00
|
|
|
func (renderer *Renderer) SolidarityServiceBookingList( w http.ResponseWriter, r *http.Request) {
|
2024-05-02 07:54:51 +00:00
|
|
|
files:= renderer.ThemeConfig.GetStringSlice("views.solidarity_service.list.files")
|
|
|
|
state := NewState(r, renderer.ThemeConfig, solidarityserviceMenu)
|
|
|
|
|
|
|
|
renderer.Render("solidarity_service", w, r, files, state)
|
|
|
|
|
|
|
|
}
|
2024-06-07 09:51:01 +00:00
|
|
|
|
|
|
|
func (renderer *Renderer) SolidarityServiceBookingCreate( w http.ResponseWriter, r *http.Request) {
|
|
|
|
files:= renderer.ThemeConfig.GetStringSlice("views.solidarity_service.list.files")
|
|
|
|
state := NewState(r, renderer.ThemeConfig, solidarityserviceMenu)
|
|
|
|
|
|
|
|
renderer.Render("solidarity_service", w, r, files, state)
|
|
|
|
fmt.Println("renderer")
|
|
|
|
}
|
|
|
|
|