liquid_feedback_frontend
annotate env/ui/titleAdmin.lua @ 1851:a01d5c0604de
Removed debug output
| author | bsw |
|---|---|
| date | Tue Mar 22 10:25:35 2022 +0100 (2022-03-22) |
| parents | a17ad625ffbc |
| children |
| rev | line source |
|---|---|
| bsw@1045 | 1 function ui.titleAdmin(title) |
| bsw@1045 | 2 ui.title(function() |
| bsw@1045 | 3 if title then |
| bsw@1621 | 4 ui.link { module = "admin", view = "index", content = _"System settings" } |
| bsw@1184 | 5 else |
| bsw@1621 | 6 ui.tag{ content = _"System settings" } |
| 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@1621 | 13 end |