liquid_feedback_frontend

diff app/main/issue/_show_box.lua @ 52:88ac7798b562

Several bugfixes (getpic.c, accepted but canceled issues, ...); Listing of available policies

- Bugfixes in fastpath/getpic.c (related to crashes since alpha5)
- Respect Content-Types of images in database
(needs database update, as Content-Type was incorrectly stored by previous versions)
- Typo fixed in help messages
- RSS-Feed (currently only after manual authentication while session is valid)
- Listing of available policies
- German translation fixed: "gebe" -> "gib" (Imperativ)
- Bugfixes related to issues which had been accepted but canceled afterwards
- Prohibit creation of initiatives in disabled areas or with disabled policies
author bsw/jbe
date Thu Apr 15 19:58:25 2010 +0200 (2010-04-15)
parents 00d1004545f1
children d13b27a37ad5
line diff
     1.1 --- a/app/main/issue/_show_box.lua	Sun Apr 04 22:05:11 2010 +0200
     1.2 +++ b/app/main/issue/_show_box.lua	Thu Apr 15 19:58:25 2010 +0200
     1.3 @@ -1,10 +1,28 @@
     1.4  local issue = param.get("issue", "table")
     1.5  
     1.6  slot.select("issue_info", function()
     1.7 -  ui.field.text{ 
     1.8 -    label = _"Policy",
     1.9 -    value = issue.policy.name 
    1.10 +  ui.tag{
    1.11 +    tag = "div",
    1.12 +    content = function()
    1.13 +      ui.tag{
    1.14 +        tag = "label",
    1.15 +        attr = { class = "ui_field_label" },
    1.16 +        content = _"Policy",
    1.17 +      }
    1.18 +      ui.tag{
    1.19 +        content = function()
    1.20 +          ui.link{
    1.21 +            text = issue.policy.name,
    1.22 +            module = "policy",
    1.23 +            view = "show",
    1.24 +            id = issue.policy.id
    1.25 +          }
    1.26 +        end
    1.27 +      }
    1.28 +
    1.29 +    end
    1.30    }
    1.31 +
    1.32    ui.field.text{ 
    1.33      label = _"State",
    1.34      value = issue.state_name 

Impressum / About Us