# HG changeset patch # User bsw # Date 1340573907 -7200 # Node ID 9641331e8bdfc54de85edcad6f3dfad153ad25a6 # Parent 7784bd246b3b32d15f8866eef4a7b00ad762fa90 Fixed title and actions on about page diff -r 7784bd246b3b -r 9641331e8bdf app/main/index/about.lua --- a/app/main/index/about.lua Sun Jun 24 23:36:53 2012 +0200 +++ b/app/main/index/about.lua Sun Jun 24 23:38:27 2012 +0200 @@ -1,14 +1,11 @@ -slot.put_into("title", encode.html(_"About site")) +ui.title(_"About site") if app.session.member_id then - slot.select("actions", function() + ui.actions(function() ui.link{ module = "index", view = "usage_terms", - content = function() - ui.image{ static = "icons/16/script.png" } - slot.put(_"Terms of use") - end + text = _"Terms of use" } end) end