liquid_feedback_frontend
diff app/main/index/_member_home.lua @ 623:8478b5027817
Optical enhancements, going to blue
author | bsw |
---|---|
date | Mon Jun 25 16:26:53 2012 +0200 (2012-06-25) |
parents | cc542ac26edc |
children | 7d39b6245e5b |
line diff
1.1 --- a/app/main/index/_member_home.lua Mon Jun 25 15:27:23 2012 +0200 1.2 +++ b/app/main/index/_member_home.lua Mon Jun 25 16:26:53 2012 +0200 1.3 @@ -115,24 +115,25 @@ 1.4 } 1.5 } 1.6 end 1.7 - end 1.8 - 1.9 + end 1.10 + 1.11 if area_count == 0 and member:has_voting_right_for_unit_id(unit.id) or 1.12 more_area_count > 0 then 1.13 1.14 - ui.container{ attr = { class = "area" }, content = function() 1.15 - ui.container{ attr = { class = "content" }, content = function() 1.16 - if more_area_text then 1.17 - ui.link{ module = "unit", view = "show", id = unit.id, text = more_area_text } 1.18 - end 1.19 - if delegated_text then 1.20 - slot.put(" · ") 1.21 - ui.tag{ content = delegated_text } 1.22 - end 1.23 - end } 1.24 - end } 1.25 end 1.26 end } 1.27 + ui.container{ attr = { class = "area", style="margin-top: 1ex; margin-left: 10px;" }, content = function() 1.28 + ui.container{ attr = { class = "title" }, content = function() 1.29 + if more_area_text then 1.30 + ui.link{ module = "unit", view = "show", id = unit.id, text = more_area_text } 1.31 + end 1.32 + if delegated_text then 1.33 + slot.put(" · ") 1.34 + ui.tag{ content = delegated_text } 1.35 + end 1.36 + end } 1.37 + end } 1.38 + slot.put("<br />") 1.39 end 1.40 end 1.41