liquid_feedback_frontend

diff app/main/issue/_show_box.lua @ 271:d13b27a37ad5

Optical enhancements, some repositioning of ui elements
author bsw
date Tue Feb 07 22:30:48 2012 +0100 (2012-02-07)
parents 88ac7798b562
children
line diff
     1.1 --- a/app/main/issue/_show_box.lua	Tue Feb 07 20:03:31 2012 +0100
     1.2 +++ b/app/main/issue/_show_box.lua	Tue Feb 07 22:30:48 2012 +0100
     1.3 @@ -1,44 +0,0 @@
     1.4 -local issue = param.get("issue", "table")
     1.5 -
     1.6 -slot.select("issue_info", function()
     1.7 -  ui.tag{
     1.8 -    tag = "div",
     1.9 -    content = function()
    1.10 -      ui.tag{
    1.11 -        tag = "label",
    1.12 -        attr = { class = "ui_field_label" },
    1.13 -        content = _"Policy",
    1.14 -      }
    1.15 -      ui.tag{
    1.16 -        content = function()
    1.17 -          ui.link{
    1.18 -            text = issue.policy.name,
    1.19 -            module = "policy",
    1.20 -            view = "show",
    1.21 -            id = issue.policy.id
    1.22 -          }
    1.23 -        end
    1.24 -      }
    1.25 -
    1.26 -    end
    1.27 -  }
    1.28 -
    1.29 -  ui.field.text{ 
    1.30 -    label = _"State",
    1.31 -    value = issue.state_name 
    1.32 -  }
    1.33 -  local time_left = issue.state_time_left
    1.34 -  if time_left then
    1.35 -    ui.field.text{ 
    1.36 -      label = _"Time left",
    1.37 -      value = time_left
    1.38 -    }
    1.39 -  end
    1.40 -  local next_state_names = issue.next_states_names
    1.41 -  if next_state_names then
    1.42 -    ui.field.text{ 
    1.43 -      label = _"Next state",
    1.44 -      value = next_state_names
    1.45 -    }
    1.46 -  end
    1.47 -end)

Impressum / About Us