liquid_feedback_frontend
annotate app/main/initiative/list_rss.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 | 00d1004545f1 |
| children | 88ac7798b562 |
| rev | line source |
|---|---|
| bsw/jbe@19 | 1 slot.set_layout("atom") |
| bsw/jbe@19 | 2 |
| bsw/jbe@19 | 3 request.force_absolute_baseurl() |
| bsw/jbe@19 | 4 |
| bsw/jbe@19 | 5 local initiatives = Initiative:new_selector() |
| bsw/jbe@19 | 6 :add_order_by("id DESC") |
| bsw/jbe@19 | 7 :limit(25) |
| bsw/jbe@19 | 8 :exec() |
| bsw/jbe@19 | 9 |
| bsw/jbe@19 | 10 for i, initiative in ipairs(initiatives) do |
| bsw/jbe@19 | 11 ui.tag{ |
| bsw/jbe@19 | 12 tag = "entry", |
| bsw/jbe@19 | 13 content = function() |
| bsw/jbe@19 | 14 ui.tag{ tag = "category", attr = { term = initiative.issue.area.name } } |
| bsw/jbe@19 | 15 ui.tag{ tag = "author", content = initiative.current_draft.author.name } |
| bsw/jbe@19 | 16 ui.tag{ tag = "title", content = initiative.name } |
| bsw/jbe@19 | 17 ui.tag{ tag = "link", attr = { |
| bsw/jbe@19 | 18 href = encode.url{ |
| bsw/jbe@19 | 19 module = "initiative", |
| bsw/jbe@19 | 20 view = "show", |
| bsw/jbe@19 | 21 id = initiative.id |
| bsw/jbe@19 | 22 } |
| bsw/jbe@19 | 23 } } |
| bsw/jbe@19 | 24 ui.tag{ tag = "id", content = "initiative_" .. tostring(initiative_id) } |
| bsw/jbe@19 | 25 ui.tag{ tag = "updated", content = tostring(initiative.created) } |
| bsw/jbe@19 | 26 ui.tag{ tag = "content", content = initiative.current_draft.draft } |
| bsw/jbe@19 | 27 end |
| bsw/jbe@19 | 28 } |
| bsw/jbe@19 | 29 end |