liquid_feedback_frontend
changeset 1711:f2922928b9a7
Allow to hide link to other units
author | bsw |
---|---|
date | Mon Sep 27 12:13:12 2021 +0200 (2021-09-27) |
parents | 62b8c3e17112 |
children | c14da47b2357 |
files | app/main/index/_sidebar_whatcanido.lua |
line diff
1.1 --- a/app/main/index/_sidebar_whatcanido.lua Mon Sep 27 12:06:15 2021 +0200 1.2 +++ b/app/main/index/_sidebar_whatcanido.lua Mon Sep 27 12:13:12 2021 +0200 1.3 @@ -54,7 +54,7 @@ 1.4 end } 1.5 end } 1.6 end 1.7 - if not config.single_unit_id then 1.8 + if not config.single_unit_id and not config.do_not_show_other_units_link then 1.9 ui.container{ attr = { class = "mdl-card__content mdl-card--border" }, content = function() 1.10 ui.tag{ content = _"I want to take a look at other organizational units" } 1.11 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()