liquid_feedback_frontend

changeset 1266:c063e4fca5a1

Fixes on notification system
author bsw
date Sun Apr 17 17:13:48 2016 +0200 (2016-04-17)
parents 1ee50ceb5087
children 547b10c25691
files app/main/member/settings_notification.lua
line diff
     1.1 --- a/app/main/member/settings_notification.lua	Sun Apr 17 17:11:08 2016 +0200
     1.2 +++ b/app/main/member/settings_notification.lua	Sun Apr 17 17:13:48 2016 +0200
     1.3 @@ -57,7 +57,7 @@
     1.4                attr = {
     1.5                  id = "digest_on",
     1.6                  type = "radio", name = "digest", value = "true",
     1.7 -                checked = not app.session.member.digest_dow and "checked" or nil
     1.8 +                checked = app.session.member.notification_hour ~= nil and "checked" or nil
     1.9                }
    1.10              }
    1.11              ui.tag{
    1.12 @@ -66,7 +66,7 @@
    1.13              }
    1.14            end }
    1.15              
    1.16 -          ui.container{ attr = { style = "margin-left: 2em;" }, content = function()
    1.17 +          ui.container{ attr = { style = "margin-left: 4em;" }, content = function()
    1.18              ui.tag{ content = _"Day:" }
    1.19              slot.put(" ")
    1.20              ui.field.select{
    1.21 @@ -112,7 +112,7 @@
    1.22                attr = {
    1.23                  id = "digest_off",
    1.24                  type = "radio", name = "digest", value = "false",
    1.25 -                checked = not app.session.member.digest_dow and "checked" or nil
    1.26 +                checked = app.session.member.notification_dow == nil and app.session.member.hotification_hour == nil and "checked" or nil
    1.27                }
    1.28              }
    1.29              ui.tag{

Impressum / About Us