diff --git a/lib/budget_issue_hook.rb b/lib/budget_issue_hook.rb index 022c930..32971f0 100644 --- a/lib/budget_issue_hook.rb +++ b/lib/budget_issue_hook.rb @@ -41,8 +41,8 @@ class BudgetIssueHook < Redmine::Hook::ViewListener content_tag('option', l(:label_no_change_option), :value => '') + content_tag('option', l(:label_none), :value => 'none') + options_from_collection_for_select(Deliverable.find_all_by_project_id(context[:project].id, :order => 'subject ASC'), :id, :subject)) - - return content_tag(:p, "") + + return content_tag(:p, content_tag(:label, l(:field_deliverable)) + select) else return '' end