liquid_feedback_frontend
annotate app/main/admin/_action/policy_update.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 | c0292c3a70d8 |
children | 7f41f3c44fae |
rev | line source |
---|---|
bsw@194 | 1 local policy = Policy:by_id(param.get_id()) or Policy:new() |
bsw@194 | 2 |
bsw@194 | 3 param.update( |
bsw@194 | 4 policy, |
bsw@194 | 5 "index", "name", "description", "active", |
bsw@194 | 6 "admission_time", "discussion_time", "verification_time", "voting_time", |
bsw@194 | 7 "issue_quorum_num", "issue_quorum_den", |
bsw@194 | 8 "initiative_quorum_num", "initiative_quorum_den", |
bsw@194 | 9 "majority_num", "majority_den", "majority_strict" |
bsw@194 | 10 ) |
bsw@194 | 11 |
bsw@194 | 12 policy:save() |
bsw@194 | 13 |
bsw@194 | 14 slot.put_into("notice", _"Policy successfully updated") |