You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
358 B
18 lines
358 B
package web
|
|
|
|
import (
|
|
root "marmic/servicetrade-toolbox"
|
|
"net/http"
|
|
)
|
|
|
|
func NotificationsHandler(w http.ResponseWriter, r *http.Request) {
|
|
tmpl := root.WebTemplates
|
|
data := map[string]interface{}{
|
|
"Title": "Notifications",
|
|
}
|
|
|
|
err := tmpl.Execute(w, data)
|
|
if err != nil {
|
|
http.Error(w, "Internal Server Error", http.StatusInternalServerError)
|
|
}
|
|
}
|
|
|