liquid_feedback_frontend
diff app/main/initiative/show_static.lua @ 271:d13b27a37ad5
Optical enhancements, some repositioning of ui elements
| author | bsw |
|---|---|
| date | Tue Feb 07 22:30:48 2012 +0100 (2012-02-07) |
| parents | 1f7b38584c0d |
| children | 65a1f7a01e7b |
line diff
1.1 --- a/app/main/initiative/show_static.lua Tue Feb 07 20:03:31 2012 +0100 1.2 +++ b/app/main/initiative/show_static.lua Tue Feb 07 22:30:48 2012 +0100 1.3 @@ -4,6 +4,13 @@ 1.4 initiative = Initiative:new_selector():add_where{ "id = ?", param.get_id()}:single_object_mode():exec() 1.5 end 1.6 1.7 +execute.view{ 1.8 + module = "issue", 1.9 + view = "_show_head", 1.10 + params = { issue = initiative.issue, 1.11 + initiative = initiative } 1.12 +} 1.13 + 1.14 slot.select("actions", function() 1.15 ui.link{ 1.16 content = function() 1.17 @@ -21,13 +28,6 @@ 1.18 } 1.19 end) 1.20 1.21 -execute.view{ 1.22 - module = "issue", 1.23 - view = "_show_head", 1.24 - params = { issue = initiative.issue, 1.25 - initiative = initiative } 1.26 -} 1.27 - 1.28 --slot.put_into("html_head", '<link rel="alternate" type="application/rss+xml" title="RSS" href="../show/' .. tostring(initiative.id) .. '.rss" />') 1.29 1.30 if app.session.member_id then