liquid_feedback_frontend
changeset 1566:7b7406a84346
Fixed layout of initiative admitted or revoked info
author | bsw |
---|---|
date | Tue Nov 10 21:14:35 2020 +0100 (2020-11-10) |
parents | 0cdd70825c45 |
children | c87cc80b7904 |
files | app/main/initiative/_sidebar_state.lua |
line diff
1.1 --- a/app/main/initiative/_sidebar_state.lua Tue Nov 10 21:11:37 2020 +0100 1.2 +++ b/app/main/initiative/_sidebar_state.lua Tue Nov 10 21:14:35 2020 +0100 1.3 @@ -68,7 +68,7 @@ 1.4 if initiative.admitted == false then 1.5 local policy = initiative.issue.policy 1.6 ui.container{ 1.7 - attr = { class = "sectionRow not_admitted_info" }, 1.8 + attr = { class = "draft mdl-card__content mdl-card--border" }, 1.9 content = function () 1.10 ui.heading { level = 1, content = _"Initiative not admitted" } 1.11 local num = policy.initiative_quorum_num 1.12 @@ -92,7 +92,7 @@ 1.13 -- initiative revoked info 1.14 if initiative.revoked then 1.15 ui.container{ 1.16 - attr = { class = "sectionRow revoked_info" }, 1.17 + attr = { class = "draft mdl-card__content mdl-card--border" }, 1.18 content = function() 1.19 ui.heading { level = 1, content = _"Initiative revoked" } 1.20 slot.put(_("This initiative has been revoked at #{revoked} by:", {