liquid_feedback_frontend
annotate env/ui/titleAdmin.lua @ 1186:f01239f154a8
Added tag v3.0.6 for changeset fef745f9e22f
author | jbe |
---|---|
date | Thu Mar 26 21:31:10 2015 +0100 (2015-03-26) |
parents | 8c65f5a029b0 |
children | a17ad625ffbc |
rev | line source |
---|---|
bsw@1045 | 1 function ui.titleAdmin(title) |
bsw@1045 | 2 ui.title(function() |
bsw@1045 | 3 if title then |
bsw@1184 | 4 ui.link { module = "admin", view = "index", content = _"System administration" } |
bsw@1184 | 5 else |
bsw@1184 | 6 ui.tag{ content = _"System administration" } |
bsw@1184 | 7 end |
bsw@1184 | 8 if title then |
bsw@1184 | 9 slot.put ( " ยป " ) |
bsw@1184 | 10 ui.tag { tag = "span", content = title } |
bsw@1045 | 11 end |
bsw@1045 | 12 end) |
bsw@1045 | 13 end |