liquid_feedback_frontend
view env/ui/titleAdmin.lua @ 1304:0bae319805ff
Added tag v3.2.1 for changeset 0160d9a01d0a
| author | jbe |
|---|---|
| date | Fri May 06 09:44:16 2016 +0200 (2016-05-06) |
| parents | 8c65f5a029b0 |
| children | a17ad625ffbc |
line source
1 function ui.titleAdmin(title)
2 ui.title(function()
3 if title then
4 ui.link { module = "admin", view = "index", content = _"System administration" }
5 else
6 ui.tag{ content = _"System administration" }
7 end
8 if title then
9 slot.put ( " ยป " )
10 ui.tag { tag = "span", content = title }
11 end
12 end)
13 end
