liquid_feedback_frontend
changeset 383:380730df98ed
Fixed layout of voting privileges info text when not beeing member of any area of an unit
author | bsw |
---|---|
date | Mon Mar 05 11:41:29 2012 +0100 (2012-03-05) |
parents | b3e2a4088137 |
children | ff700bb26d60 |
files | app/main/member/_area_list.lua static/style.css |
line diff
1.1 --- a/app/main/member/_area_list.lua Mon Mar 05 11:37:47 2012 +0100 1.2 +++ b/app/main/member/_area_list.lua Mon Mar 05 11:41:29 2012 +0100 1.3 @@ -46,12 +46,7 @@ 1.4 params = { areas_selector = areas_selector, hide_membership = true } 1.5 } 1.6 else 1.7 - ui.tag{ content = _"You have voting privileges for this unit, but you are not member of any of its areas." } 1.8 - slot.put(" ") 1.9 - ui.link{ 1.10 - text = _"Show all areas of this unit", 1.11 - module = "unit", view = "show", id = unit.id 1.12 - } 1.13 + 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." } 1.14 end 1.15 end } 1.16
2.1 --- a/static/style.css Mon Mar 05 11:37:47 2012 +0100 2.2 +++ b/static/style.css Mon Mar 05 11:41:29 2012 +0100 2.3 @@ -861,6 +861,11 @@ 2.4 float: left; 2.5 } 2.6 2.7 +.member_area_list .voting_priv_info { 2.8 + clear: left; 2.9 + margin-top: 4ex; 2.10 +} 2.11 + 2.12 .area_list { 2.13 margin-bottom: 4ex; 2.14 }