liquid_feedback_frontend

diff app/main/member/history.lua @ 564:418b590fa9ed

Optical enhancements, cleanup
author bsw
date Tue Jun 19 22:44:18 2012 +0200 (2012-06-19)
parents 3e76be965ebb
children 701a5cf6b067
line diff
     1.1 --- a/app/main/member/history.lua	Tue Jun 19 22:39:57 2012 +0200
     1.2 +++ b/app/main/member/history.lua	Tue Jun 19 22:44:18 2012 +0200
     1.3 @@ -1,17 +1,21 @@
     1.4  local member = Member:by_id(param.get_id())
     1.5  
     1.6 -slot.put_into("title", encode.html(_("Member name history for '#{name}'", { name = member.name })))
     1.7 -
     1.8 -slot.select("actions", function()
     1.9 -  ui.link{
    1.10 -    content = function()
    1.11 -        ui.image{ static = "icons/16/cancel.png" }
    1.12 -        slot.put(_"Back")
    1.13 -    end,
    1.14 -    module = "member",
    1.15 -    view = "show",
    1.16 -    id = member.id
    1.17 +slot.select("head", function()
    1.18 +  ui.container{
    1.19 +    attr = { class = "title" }, 
    1.20 +    content = _("Member name history for '#{name}'", { name = member.name })
    1.21    }
    1.22 +  ui.container{ attr = { class = "actions" }, content = function()
    1.23 +    ui.link{
    1.24 +      content = function()
    1.25 +          ui.image{ static = "icons/16/cancel.png" }
    1.26 +          slot.put(_"Back")
    1.27 +      end,
    1.28 +      module = "member",
    1.29 +      view = "show",
    1.30 +      id = member.id
    1.31 +    }
    1.32 +  end }
    1.33  end)
    1.34  
    1.35  ui.form{

Impressum / About Us