liquid_feedback_frontend
changeset 477:6e13a7da16b5
Show more information in edit draft dialog
author | bsw |
---|---|
date | Wed Mar 14 21:33:51 2012 +0100 (2012-03-14) |
parents | 0df9f48e5ce9 |
children | 87c33552f406 |
files | app/main/draft/new.lua |
line diff
1.1 --- a/app/main/draft/new.lua Wed Mar 14 20:01:13 2012 +0100 1.2 +++ b/app/main/draft/new.lua Wed Mar 14 21:33:51 2012 +0100 1.3 @@ -32,7 +32,12 @@ 1.4 }, 1.5 content = function() 1.6 1.7 - ui.field.text{ label = _"Author", value = app.session.member.name, readonly = true } 1.8 + ui.field.text{ label = _"Unit", value = initiative.issue.area.unit.name, readonly = true } 1.9 + ui.field.text{ label = _"Area", value = initiative.issue.area.name, readonly = true } 1.10 + ui.field.text{ label = _"Policy", value = initiative.issue.policy.name, readonly = true } 1.11 + ui.field.text{ label = _"Issue", value = _("Issue ##{id}", { id = initiative.issue.id } ), readonly = true } 1.12 + slot.put("<br />") 1.13 + ui.field.text{ label = _"Initiative", value = initiative.name, readonly = true } 1.14 1.15 if param.get("preview") then 1.16 ui.container{