summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/keywords/edit.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/admin/keywords/edit.html.tmpl')
-rwxr-xr-xtemplate/en/default/admin/keywords/edit.html.tmpl19
1 files changed, 9 insertions, 10 deletions
diff --git a/template/en/default/admin/keywords/edit.html.tmpl b/template/en/default/admin/keywords/edit.html.tmpl
index b6b5fc932..0d3beaf33 100755
--- a/template/en/default/admin/keywords/edit.html.tmpl
+++ b/template/en/default/admin/keywords/edit.html.tmpl
@@ -18,13 +18,11 @@
#
# Contributor(s): Terry Weissman <terry@mozilla.org>
# Vlad Dascalu <jocuri@softhome.net>
+ # Max Kanat-Alexander <mkanat@bugzilla.org>
#%]
[%# INTERFACE:
- # keyword_id: number. The ID of the keyword.
- # name: string. The name of the keyword.
- # description: string. The description of the keyword.
- # bug_count: number. The number of bugs with the keyword.
+ # keyword: A Bugzilla::Keyword object.
#%]
[% PROCESS global/variables.none.tmpl %]
@@ -37,7 +35,8 @@
<table border="0" cellpadding="4" cellspacing="0">
<tr>
<th align="right">Name:</th>
- <td><input size="64" maxlength="64" name="name" value="[% name FILTER html %]"></td>
+ <td><input size="64" maxlength="64" name="name"
+ value="[% keyword.name FILTER html %]"></td>
</tr>
<tr>
<th align="right">Description:</th>
@@ -47,16 +46,16 @@
minrows = 4
cols = 64
wrap = 'virtual'
- defaultcontent = description
+ defaultcontent = keyword.description
%]
</td>
</tr>
<tr>
<th align="right">[% terms.Bugs %]:</th>
<td>
- [% IF bug_count > 0 %]
- <a href="buglist.cgi?keywords=[% name FILTER url_quote %]">
- [% bug_count %]</a>
+ [% IF keyword.bug_count > 0 %]
+ <a href="buglist.cgi?keywords=[% keyword.name FILTER url_quote %]">
+ [% keyword.bug_count FILTER html %]</a>
[% ELSE %]
none
[% END %]
@@ -66,7 +65,7 @@
<input type="submit" id="update" value="Update">
<input type="hidden" name="action" value="update">
- <input type="hidden" name="id" value="[% keyword_id %]">
+ <input type="hidden" name="id" value="[% keyword.id FILTER html %]">
</form>
<p><a href="editkeywords.cgi">Edit other keywords</a>.</p>