# HG changeset patch # User bsw # Date 1352133627 -3600 # Node ID 56a741c590a099293eaa9be4d90b126c358fa6ee # Parent ad8114671ac8c497cf18c06ab60e752a77c7c87f Show link to terms of use only when terms of use available diff -r ad8114671ac8 -r 56a741c590a0 app/main/index/about.lua --- a/app/main/index/about.lua Mon Nov 05 17:39:29 2012 +0100 +++ b/app/main/index/about.lua Mon Nov 05 17:40:27 2012 +0100 @@ -1,6 +1,6 @@ ui.title(_"About site") -if app.session.member_id then +if app.session.member_id and config.use_terms then ui.actions(function() ui.link{ module = "index",