liquid_feedback_frontend
diff app/main/issue/_show_head.lua @ 286:c587d8762e62
Registration process updated for Core 2.0, lockable member fields, notification settings
author | bsw |
---|---|
date | Sat Feb 25 11:51:37 2012 +0100 (2012-02-25) |
parents | b77e6a17ca77 |
children | 22e4e26717ac |
line diff
1.1 --- a/app/main/issue/_show_head.lua Fri Feb 17 15:16:02 2012 +0100 1.2 +++ b/app/main/issue/_show_head.lua Sat Feb 25 11:51:37 2012 +0100 1.3 @@ -114,6 +114,19 @@ 1.4 end, 1.5 } 1.6 end 1.7 + 1.8 + if config.etherpad and app.session.member then 1.9 + local url = config.etherpad.base_url .. "p/" .. config.etherpad.group_id .. "$Issue" .. issue.id 1.10 + ui.link{ 1.11 + attr = { target = "_blank" }, 1.12 + external = url, 1.13 + content = function() 1.14 + ui.image{ static = "icons/16/comments.png" } 1.15 + slot.put(_"Issue pad") 1.16 + end, 1.17 + } 1.18 + end 1.19 + 1.20 end) 1.21 1.22 if app.session.member_id and app.session.member:has_voting_right_for_unit_id(issue.area.unit_id) then