liquid_feedback_frontend
annotate env/ui/titleAdmin.lua @ 1102:9e3f73a026db
Fixed draft preview style when creating new initiative
| author | bsw |
|---|---|
| date | Mon Oct 27 12:09:53 2014 +0100 (2014-10-27) |
| 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 |