liquid_feedback_frontend
annotate env/ui/titleAdmin.lua @ 1124:9ea935c67a61
Allow custom draft template
author | bsw |
---|---|
date | Wed Dec 24 12:08:26 2014 +0100 (2014-12-24) |
parents | 701a5cf6b067 |
children | 8c65f5a029b0 |
rev | line source |
---|---|
bsw@1045 | 1 function ui.titleAdmin(title) |
bsw@1045 | 2 ui.title(function() |
bsw@1045 | 3 ui.link { module = "admin", view = "index", content = _"System administration" } |
bsw@1045 | 4 if title then |
bsw@1045 | 5 ui.tag { tag = "span", content = content } |
bsw@1045 | 6 end |
bsw@1045 | 7 end) |
bsw@1045 | 8 end |