liquid_feedback_frontend
annotate app/main/admin/_action/area_update.lua @ 41:53a45356c107
Several bugfixes, including bugfix in timeline
- Fixed grouping of multiple new drafts in timeline
- Do not allow to add suggestions when issue is half frozen
- Do not show initiator invitations for (half-)frozen or closed issues
- Fixed problem with duplicates in display of vote-later requests
- Clarified german "member is participating" info text in delegation chain
- Hide inactive members from member listing
- Fixed grouping of multiple new drafts in timeline
- Do not allow to add suggestions when issue is half frozen
- Do not show initiator invitations for (half-)frozen or closed issues
- Fixed problem with duplicates in display of vote-later requests
- Clarified german "member is participating" info text in delegation chain
- Hide inactive members from member listing
| author | bsw |
|---|---|
| date | Sun Mar 07 15:36:54 2010 +0100 (2010-03-07) |
| parents | afd9f769c7ae |
| children | 915cc0341538 |
| rev | line source |
|---|---|
| bsw/jbe@5 | 1 if not app.session.member.admin then |
| bsw/jbe@5 | 2 error() |
| bsw/jbe@5 | 3 end |
| bsw/jbe@5 | 4 |
| bsw/jbe@5 | 5 local id = param.get_id() |
| bsw/jbe@5 | 6 |
| bsw/jbe@5 | 7 local area |
| bsw/jbe@5 | 8 if id then |
| bsw/jbe@5 | 9 area = Area:new_selector():add_where{ "id = ?", id }:single_object_mode():exec() |
| bsw/jbe@5 | 10 else |
| bsw/jbe@5 | 11 area = Area:new() |
| bsw/jbe@5 | 12 end |
| bsw/jbe@5 | 13 |
| bsw/jbe@5 | 14 |
| bsw/jbe@5 | 15 param.update(area, "name", "description", "active") |
| bsw/jbe@5 | 16 |
| bsw/jbe@5 | 17 area:save() |
| bsw/jbe@5 | 18 |
| bsw/jbe@5 | 19 slot.put_into("notice", _"Area successfully updated") |