liquid_feedback_frontend

diff app/main/area/show.lua @ 271:d13b27a37ad5

Optical enhancements, some repositioning of ui elements
author bsw
date Tue Feb 07 22:30:48 2012 +0100 (2012-02-07)
parents d37dce888225
children bde068b37608
line diff
     1.1 --- a/app/main/area/show.lua	Tue Feb 07 20:03:31 2012 +0100
     1.2 +++ b/app/main/area/show.lua	Tue Feb 07 22:30:48 2012 +0100
     1.3 @@ -14,17 +14,18 @@
     1.4  
     1.5  
     1.6  slot.select("title", function()
     1.7 +  ui.tag{ content =  area.name }
     1.8 +
     1.9    if not config.single_unit_id then
    1.10 +    slot.put(" · ")
    1.11      ui.link{
    1.12        content = area.unit.name,
    1.13        module = "area",
    1.14        view = "list",
    1.15        params = { unit_id = area.unit_id }
    1.16      }
    1.17 -    slot.put(" · ")
    1.18    end
    1.19  
    1.20 -  ui.tag{ content =  area.name }
    1.21  
    1.22  end)
    1.23  
    1.24 @@ -37,6 +38,17 @@
    1.25  
    1.26  
    1.27  if app.session.member_id then
    1.28 +  execute.view{
    1.29 +    module = "membership",
    1.30 +    view = "_show_box",
    1.31 +    params = { area = area }
    1.32 +  }
    1.33 +
    1.34 +  execute.view{
    1.35 +    module = "delegation",
    1.36 +    view = "_show_box",
    1.37 +    params = { area_id = area.id }
    1.38 +  }
    1.39  
    1.40    slot.select("actions", function()
    1.41      ui.link{
    1.42 @@ -50,17 +62,6 @@
    1.43      }
    1.44    end)
    1.45  
    1.46 -  execute.view{
    1.47 -    module = "membership",
    1.48 -    view = "_show_box",
    1.49 -    params = { area = area }
    1.50 -  }
    1.51 -
    1.52 -  execute.view{
    1.53 -    module = "delegation",
    1.54 -    view = "_show_box",
    1.55 -    params = { area_id = area.id }
    1.56 -  }
    1.57  
    1.58  end
    1.59  

Impressum / About Us