liquid_feedback_frontend

changeset 1712:c14da47b2357

Changed order of sidebar elements
author bsw
date Mon Sep 27 12:17:27 2021 +0200 (2021-09-27)
parents f2922928b9a7
children 58e1e8d6f596
files app/main/index/_sidebar_whatcanido.lua
line diff
     1.1 --- a/app/main/index/_sidebar_whatcanido.lua	Mon Sep 27 12:13:12 2021 +0200
     1.2 +++ b/app/main/index/_sidebar_whatcanido.lua	Mon Sep 27 12:17:27 2021 +0200
     1.3 @@ -30,6 +30,14 @@
     1.4            end
     1.5          end } 
     1.6        end }
     1.7 +      if not config.voting_only and app.session.member.has_initiative_right then
     1.8 +        ui.container{ attr = { class = "mdl-card__content mdl-card--border" }, content = function()
     1.9 +          ui.tag{ content = _"I want to start a new initiative" }
    1.10 +          ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
    1.11 +            ui.tag { tag = "li", content = _"open the appropriate subject area for your issue and follow the instruction on that page." }
    1.12 +          end } 
    1.13 +        end }
    1.14 +      end
    1.15        if app.session.member.has_voting_right then
    1.16          ui.container{ attr = { class = "mdl-card__content mdl-card--border" }, content = function()
    1.17            ui.tag{ content = _"I want to vote" }
    1.18 @@ -46,14 +54,6 @@
    1.19            end }
    1.20          end
    1.21        end
    1.22 -      if not config.voting_only and app.session.member.has_initiative_right then
    1.23 -        ui.container{ attr = { class = "mdl-card__content mdl-card--border" }, content = function()
    1.24 -          ui.tag{ content = _"I want to start a new initiative" }
    1.25 -          ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
    1.26 -            ui.tag { tag = "li", content = _"open the appropriate subject area for your issue and follow the instruction on that page." }
    1.27 -          end } 
    1.28 -        end }
    1.29 -      end
    1.30        if not config.single_unit_id and not config.do_not_show_other_units_link then
    1.31          ui.container{ attr = { class = "mdl-card__content mdl-card--border" }, content = function()
    1.32            ui.tag{ content = _"I want to take a look at other organizational units" }

Impressum / About Us