liquid_feedback_frontend

changeset 1717:f41f5c5f8fa2

User cannot be not entitled to vote in root level
author bsw
date Mon Sep 27 12:44:07 2021 +0200 (2021-09-27)
parents 0a3cce889a75
children 26b0b4fb09fe
files app/main/index/_sidebar_whatcanido.lua
line diff
     1.1 --- a/app/main/index/_sidebar_whatcanido.lua	Mon Sep 27 12:43:08 2021 +0200
     1.2 +++ b/app/main/index/_sidebar_whatcanido.lua	Mon Sep 27 12:44:07 2021 +0200
     1.3 @@ -83,16 +83,12 @@
     1.4      end
     1.5      if not app.session.member then
     1.6        ui.container { attr = { class = "mdl-card__content mdl-card--border" }, content = function ()
     1.7 -        if not app.session.member_id then
     1.8 -          ui.tag{ content = _"Login to participate" }
     1.9 -          ui.tag{ tag = "ul", content = function()
    1.10 -            ui.tag{ tag = "li", content = function()
    1.11 -              ui.link{ module = "index", view = "login", content = _"Login" }
    1.12 -            end }
    1.13 +        ui.tag{ content = _"Login to participate" }
    1.14 +        ui.tag{ tag = "ul", content = function()
    1.15 +          ui.tag{ tag = "li", content = function()
    1.16 +            ui.link{ module = "index", view = "login", content = _"Login" }
    1.17            end }
    1.18 -        else
    1.19 -          ui.tag{ content = _"You are not entitled to vote in this unit" }
    1.20 -        end
    1.21 +        end }
    1.22        end }
    1.23      end
    1.24      if not config.voting_only then

Impressum / About Us