# HG changeset patch # User bsw # Date 1330944089 -3600 # Node ID 380730df98ed2e148bcab4d38f6c6a46193eb127 # Parent b3e2a4088137a120d81265ea3d072baa3e187391 Fixed layout of voting privileges info text when not beeing member of any area of an unit diff -r b3e2a4088137 -r 380730df98ed app/main/member/_area_list.lua --- a/app/main/member/_area_list.lua Mon Mar 05 11:37:47 2012 +0100 +++ b/app/main/member/_area_list.lua Mon Mar 05 11:41:29 2012 +0100 @@ -46,12 +46,7 @@ params = { areas_selector = areas_selector, hide_membership = true } } else - ui.tag{ content = _"You have voting privileges for this unit, but you are not member of any of its areas." } - slot.put(" ") - ui.link{ - text = _"Show all areas of this unit", - module = "unit", view = "show", id = unit.id - } + ui.container{ attr = { class = "voting_priv_info" }, content = _"You have voting privileges for this unit, but you are not member of any of its areas." } end end } diff -r b3e2a4088137 -r 380730df98ed static/style.css --- a/static/style.css Mon Mar 05 11:37:47 2012 +0100 +++ b/static/style.css Mon Mar 05 11:41:29 2012 +0100 @@ -861,6 +861,11 @@ float: left; } +.member_area_list .voting_priv_info { + clear: left; + margin-top: 4ex; +} + .area_list { margin-bottom: 4ex; }