# HG changeset patch # User bsw # Date 1331757231 -3600 # Node ID 6e13a7da16b5b14805363c49064cce9e7a3daba1 # Parent 0df9f48e5ce960c6ced94f264082d79a6e661639 Show more information in edit draft dialog diff -r 0df9f48e5ce9 -r 6e13a7da16b5 app/main/draft/new.lua --- a/app/main/draft/new.lua Wed Mar 14 20:01:13 2012 +0100 +++ b/app/main/draft/new.lua Wed Mar 14 21:33:51 2012 +0100 @@ -32,7 +32,12 @@ }, content = function() - ui.field.text{ label = _"Author", value = app.session.member.name, readonly = true } + ui.field.text{ label = _"Unit", value = initiative.issue.area.unit.name, readonly = true } + ui.field.text{ label = _"Area", value = initiative.issue.area.name, readonly = true } + ui.field.text{ label = _"Policy", value = initiative.issue.policy.name, readonly = true } + ui.field.text{ label = _"Issue", value = _("Issue ##{id}", { id = initiative.issue.id } ), readonly = true } + slot.put("
") + ui.field.text{ label = _"Initiative", value = initiative.name, readonly = true } if param.get("preview") then ui.container{