liquid_feedback_frontend
changeset 616:9641331e8bdf
Fixed title and actions on about page
author | bsw |
---|---|
date | Sun Jun 24 23:38:27 2012 +0200 (2012-06-24) |
parents | 7784bd246b3b |
children | 04930b1b9770 |
files | app/main/index/about.lua |
line diff
1.1 --- a/app/main/index/about.lua Sun Jun 24 23:36:53 2012 +0200 1.2 +++ b/app/main/index/about.lua Sun Jun 24 23:38:27 2012 +0200 1.3 @@ -1,14 +1,11 @@ 1.4 -slot.put_into("title", encode.html(_"About site")) 1.5 +ui.title(_"About site") 1.6 1.7 if app.session.member_id then 1.8 - slot.select("actions", function() 1.9 + ui.actions(function() 1.10 ui.link{ 1.11 module = "index", 1.12 view = "usage_terms", 1.13 - content = function() 1.14 - ui.image{ static = "icons/16/script.png" } 1.15 - slot.put(_"Terms of use") 1.16 - end 1.17 + text = _"Terms of use" 1.18 } 1.19 end) 1.20 end