liquid_feedback_frontend

diff app/main/membership/_show_box.lua @ 243:ec86db506312

Removed autoreject support (which was removed from core-2)
author bsw
date Fri Dec 30 03:04:17 2011 +0100 (2011-12-30)
parents ca006681befc
children bde068b37608
line diff
     1.1 --- a/app/main/membership/_show_box.lua	Fri Dec 30 03:02:09 2011 +0100
     1.2 +++ b/app/main/membership/_show_box.lua	Fri Dec 30 03:04:17 2011 +0100
     1.3 @@ -17,12 +17,6 @@
     1.4          }
     1.5          slot.put(_"You are member")
     1.6  
     1.7 -        if membership.autoreject == true then
     1.8 -          ui.image{
     1.9 -            static = "icons/16/thumb_down_red.png"
    1.10 -          }
    1.11 -        end
    1.12 -
    1.13          ui.image{
    1.14            static = "icons/16/dropdown.png"
    1.15          }
    1.16 @@ -49,25 +43,6 @@
    1.17            params  = { area_id = area.id, delete = true },
    1.18            routing = { default = { mode = "redirect", module = "area", view = "show", id = area.id } }
    1.19          }
    1.20 -        if membership.autoreject then
    1.21 -          ui.field.text{ value = _"Autoreject is on." }
    1.22 -          ui.link{
    1.23 -            text    = _"Remove autoreject",
    1.24 -            module  = "membership",
    1.25 -            action  = "update",
    1.26 -            params  = { area_id = area.id, autoreject = false },
    1.27 -            routing = { default = { mode = "redirect", module = "area", view = "show", id = area.id } }
    1.28 -          }
    1.29 -        else
    1.30 -          ui.field.text{ value = _"Autoreject is off." }
    1.31 -          ui.link{
    1.32 -            text    = _"Set autoreject",
    1.33 -            module  = "membership",
    1.34 -            action  = "update",
    1.35 -            params  = { area_id = area.id, autoreject = true },
    1.36 -            routing = { default = { mode = "redirect", module = "area", view = "show", id = area.id } }
    1.37 -          }
    1.38 -        end
    1.39        end
    1.40      }
    1.41    else

Impressum / About Us