bsw@75: if app.session.member.notify_email_unconfirmed then
bsw@75: 
bsw@75:   local current = Member:new_selector()
bsw@75:     :add_where{ "id = ?", app.session.member_id }
bsw@75:     :add_where("notify_email_unconfirmed NOTNULL")
bsw@75:     :add_where("notify_email_secret_expiry > now()")
bsw@75:     :optional_object_mode()
bsw@75:     :exec()
bsw@75: 
bsw@75:   ui.heading{ level = 2, content = _"Notification address unconfirmed" }
bsw@75: 
bsw@75:   if current then
bsw@75:     ui.tag{
bsw@75:       tag = "div",
jbe@233:       content = _("You didn't confirm your email address '#{email}'. You have received an email with an activation link.", { email = app.session.member.notify_email_unconfirmed })
bsw@75:     }
bsw@75:   else
bsw@75:     ui.tag{
bsw@75:       tag = "div",
jbe@233:       content = _("You didn't confirm your email address '#{email}' within 7 days.", { email = app.session.member.notify_email_unconfirmed })
bsw@75:     }
bsw@75:   end
bsw@75:   slot.put("
")
bsw@75: 
bsw@75:   ui.link{
bsw@75:     text = _"Change email address",
bsw@75:     module = "member",
bsw@75:     view = "settings_email",
bsw@75:   }
bsw@75:   slot.put("
")
bsw@75:   slot.put("
")
bsw@75: 
bsw@75:   ui.link{
bsw@75:     text = _("Resend activation email to '#{email}'", { email = app.session.member.notify_email_unconfirmed }),
bsw@75:     module = "member",
bsw@75:     action = "update_email",
bsw@75:     params = {
bsw@75:       resend = true
bsw@75:     },
bsw@75:     routing = {
bsw@75:       default = {
bsw@75:         mode = "redirect",
bsw@75:         module = "index",
bsw@75:         view = "index"
bsw@75:       }
bsw@75:     }
bsw@75:   }
bsw@75: 
bsw@75: end