Commit 508d532f authored by Frank Becker's avatar Frank Becker Committed by Frédéric Buclin

Bug 690873: config.cgi should include keyword descriptions

r/a=LpSolit
parent a1b2e423
......@@ -44,7 +44,7 @@ $vars->{'priority'} = get_legal_field_values('priority');
$vars->{'severity'} = get_legal_field_values('bug_severity');
$vars->{'platform'} = get_legal_field_values('rep_platform');
$vars->{'op_sys'} = get_legal_field_values('op_sys');
$vars->{'keyword'} = [map($_->name, Bugzilla::Keyword->get_all)];
$vars->{'keywords'} = [Bugzilla::Keyword->get_all];
$vars->{'resolution'} = get_legal_field_values('resolution');
$vars->{'status'} = get_legal_field_values('bug_status');
$vars->{'custom_fields'} =
......
......@@ -54,13 +54,18 @@
</Seq>
</bz:resolution>
<bz:keyword>
<bz:keywords>
<Seq>
[% FOREACH item = keyword %]
<li>[% item FILTER html %]</li>
[% FOREACH keyword = keywords %]
<li>
<bz:keyword rdf:about="[% escaped_urlbase %]keyword.cgi?name=[% keyword.name FILTER uri %]">
<bz:name>[% keyword.name FILTER html %]</bz:name>
<bz:description>[% keyword.description FILTER html %]</bz:description>
</bz:keyword>
</li>
[% END %]
</Seq>
</bz:keyword>
</bz:keywords>
<bz:platform>
<Seq>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment