liquid_feedback_frontend
view app/main/area/list.lua @ 210:2c422bcb79de
Added tag beta31 for changeset bfd8d88f72fc
- Added support to lock inactive member
- Added esperanto translations for new phrases
- Improved and corrected some esperanto phrases
- Display delegation warnings only for open issues
- Refactored code: admin, area, contact and delegation module
- Translated admin menu
- Added policy editor to admin area
- Save and display last login date
- Small fixes
- Added support to lock inactive member
- Added esperanto translations for new phrases
- Improved and corrected some esperanto phrases
- Display delegation warnings only for open issues
- Refactored code: admin, area, contact and delegation module
- Translated admin menu
- Added policy editor to admin area
- Save and display last login date
- Small fixes
author | bsw |
---|---|
date | Sat Feb 05 20:01:09 2011 +0100 (2011-02-05) |
parents | c0835d707465 |
children | 6725c13b6ce0 |
line source
1 local areas_selector = Area:build_selector{ active = true }
4 if app.session.member_id then
5 slot.put_into("title", _'Area list')
6 else
7 slot.put_into("title", encode.html(config.app_title))
8 end
11 if not app.session.member_id and config.motd_public then
12 local help_text = config.motd_public
13 ui.container{
14 attr = { class = "wiki motd" },
15 content = function()
16 slot.put(format.wiki_text(help_text))
17 end
18 }
19 end
21 util.help("area.list", _"Area list")
24 execute.view{
25 module = "area",
26 view = "_list",
27 params = { areas_selector = areas_selector }
28 }