aboutsummaryrefslogtreecommitdiff
path: root/modules/lists/lists.go
diff options
context:
space:
mode:
authorjan <jan@ruken.pw>2016-10-12 14:58:08 (UTC)
committerjan <jan@ruken.pw>2016-10-12 14:58:08 (UTC)
commitcaa0e61762511c32e45caf0df4e9dca4d4670849 (patch)
tree9fac5dbabd3a9b2fb72f43a429c12a856f1cc79d /modules/lists/lists.go
parentedccb755f60fd135e09db5c60385961eccc72818 (diff)
globale Notification eingefuegt. Wir brauchen noch irgendienen weg, das zB bei redirects zu verwenden
Diffstat (limited to 'modules/lists/lists.go')
-rw-r--r--modules/lists/lists.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/lists/lists.go b/modules/lists/lists.go
index 39cc4d0..a6d0284 100644
--- a/modules/lists/lists.go
+++ b/modules/lists/lists.go
@@ -464,7 +464,12 @@ func (m *Module) updateListSettings(w http.ResponseWriter, r *http.Request, p ht
464 list.Name = name 464 list.Name = name
465 list.Description = description 465 list.Description = description
466 466
467 m.viewListSettings(w, r, p) 467 data := m.g.Renderer.DefaultData()
468 data["user"] = user
469 data["list"] = list
470 data["notification"] = frontend.NewNotification("Aenderungen gespeichert")
471
472 m.g.Renderer.RenderPage("list_settings", w, data)
468 el.EditList(user, eventlogging.EditListData{ 473 el.EditList(user, eventlogging.EditListData{
469 ListID: id, 474 ListID: id,
470 OldName: oldName, 475 OldName: oldName,