liquid_feedback_frontend

diff app/main/issue/_show_head.lua @ 60:7bc629bc1c20

Optionally show configuration specific head over issues in public access mode
author bsw
date Thu Apr 22 16:00:49 2010 +0200 (2010-04-22)
parents 88ac7798b562
children bf885faf3452
line diff
     1.1 --- a/app/main/issue/_show_head.lua	Sun Apr 18 18:19:58 2010 +0200
     1.2 +++ b/app/main/issue/_show_head.lua	Thu Apr 22 16:00:49 2010 +0200
     1.3 @@ -102,8 +102,11 @@
     1.4  
     1.5  --  ui.twitter("http://example.com/t" .. tostring(issue.id))
     1.6  
     1.7 +if config.public_access_issue_head and not app.session.member_id then
     1.8 +  config.public_access_issue_head(issue)
     1.9 +end
    1.10  
    1.11 -if issue.state == 'voting' and not direct_voter then
    1.12 +if app.session.member_id and issue.state == 'voting' and not direct_voter then
    1.13    ui.container{
    1.14      attr = { class = "voting_active_info" },
    1.15      content = function()

Impressum / About Us