liquid_feedback_frontend

diff app/main/member/_show_thumb.lua @ 10:72c5e0ee7c98

Version beta6

Bugfixes:
- Security fix: Every user was able to change the discussion URL of an initiative
- Creation of new issues in areas without default policies is now possible
- Members can now be sorted in different ways
- No error when trying to compare a draft with itself
- Added missing local statement to variable initialization in app/main/delegation/new.lua
- CSS flaw in initiative action bar fixed

New features:
- Possiblity to invite other users to become initiator
- Revokation of initiatives implemented
- Number of suggestions, supporters, etc. is shown on corresponding tabs of initiative view
- Members can now be sorted by account creation (default sorting is "newest first")
- Configuration option to create an automatic discussion link for all issues
- First draft of global timeline feature (not accessible via link yet)
- Custom stylesheet URL for users marked as developers

In area listing the number of closed issues is shown too

Renamed "author" field of initiative to "last author"

Removed wrongly included file app/main/member/_show_thumb.lua.orig in the distribution

Help texts updated
author bsw
date Sun Jan 10 12:00:00 2010 +0100 (2010-01-10)
parents 8d91bccab0bf
children 00d1004545f1
line diff
     1.1 --- a/app/main/member/_show_thumb.lua	Mon Jan 04 12:00:00 2010 +0100
     1.2 +++ b/app/main/member/_show_thumb.lua	Sun Jan 10 12:00:00 2010 +0100
     1.3 @@ -1,3 +1,4 @@
     1.4 +local initiator = param.get("initiator", "table")
     1.5  local member = param.get("member", "table")
     1.6  
     1.7  local issue = param.get("issue", "table")
     1.8 @@ -11,8 +12,13 @@
     1.9    name = encode.html(member.name)
    1.10  end
    1.11  
    1.12 +local container_class = "member_thumb"
    1.13 +if initiator and member.accepted ~= true then
    1.14 +  container_class = container_class .. " not_accepted"
    1.15 +end
    1.16 +
    1.17  ui.container{
    1.18 -  attr = { class = "member_thumb" },
    1.19 +  attr = { class = container_class },
    1.20    content = function()
    1.21      ui.container{
    1.22        attr = { class = "flags" },
    1.23 @@ -49,6 +55,13 @@
    1.24          else
    1.25            slot.put(" ")
    1.26          end
    1.27 +        if initiator and initiator.accepted then
    1.28 +          if member.accepted == nil then
    1.29 +            slot.put(_"Invited")
    1.30 +          elseif member.accepted == false then
    1.31 +            slot.put(_"Rejected")
    1.32 +          end
    1.33 +        end
    1.34          if member.grade then
    1.35            ui.container{
    1.36              content = function()

Impressum / About Us