liquid_feedback_frontend
diff app/main/issue/_show_head.lua @ 61:f77ca23f9ebd
merge
author | jbe |
---|---|
date | Thu Apr 22 16:03:53 2010 +0200 (2010-04-22) |
parents | 7bc629bc1c20 |
children | bf885faf3452 |
line diff
1.1 --- a/app/main/issue/_show_head.lua Tue Apr 20 10:19:37 2010 +0200 1.2 +++ b/app/main/issue/_show_head.lua Thu Apr 22 16:03:53 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()