diff options
author | Tiago Mello <timello@linux.vnet.ibm.com> | 2010-03-29 14:40:38 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2010-03-29 14:40:38 +0200 |
commit | 4b1eaf48627db9d03e862609ea428f6a4e6f111f (patch) | |
tree | 45939d371463bfe4d4a0df55c112e14505645eaf /template/en/default/admin/components/edit.html.tmpl | |
parent | 1c5cd01eed5bc54774ba4df8ec94124e4594ffc1 (diff) | |
download | bugs-4b1eaf48627db9d03e862609ea428f6a4e6f111f.tar bugs-4b1eaf48627db9d03e862609ea428f6a4e6f111f.tar.gz bugs-4b1eaf48627db9d03e862609ea428f6a4e6f111f.tar.bz2 bugs-4b1eaf48627db9d03e862609ea428f6a4e6f111f.tar.xz bugs-4b1eaf48627db9d03e862609ea428f6a4e6f111f.zip |
Bug 554552: Refactor classifications and components templates to use edit-common.html.tmpl and add the 'rows' hook
r/a=mkanat
Diffstat (limited to 'template/en/default/admin/components/edit.html.tmpl')
-rw-r--r-- | template/en/default/admin/components/edit.html.tmpl | 64 |
1 files changed, 2 insertions, 62 deletions
diff --git a/template/en/default/admin/components/edit.html.tmpl b/template/en/default/admin/components/edit.html.tmpl index 267bfc5c3..30b7303e7 100644 --- a/template/en/default/admin/components/edit.html.tmpl +++ b/template/en/default/admin/components/edit.html.tmpl @@ -40,68 +40,8 @@ <form method="post" action="editcomponents.cgi"> <table border="0" cellpadding="4" cellspacing="0"> - <tr> - <td valign="top">Component:</td> - <td><input size="64" maxlength="64" name="component" value=" - [%- comp.name FILTER html %]"></td> - </tr> - <tr> - <td valign="top">Component Description:</td> - <td> - [% INCLUDE global/textarea.html.tmpl - name = 'description' - minrows = 4 - cols = 64 - wrap = 'virtual' - defaultcontent = comp.description - %] - </td> - </tr> - <tr> - <td valign="top"><label for="initialowner">Default Assignee:</label></td> - <td> - [% INCLUDE global/userselect.html.tmpl - name => "initialowner" - id => "initialowner" - value => comp.default_assignee.login - size => 64 - %] - </td> - -[% IF Param('useqacontact') %] - </tr> - <tr> - <td valign="top"><label for="initialqacontact">Default QA contact:</label></td> - <td> - [% INCLUDE global/userselect.html.tmpl - name => "initialqacontact" - id => "initialqacontact" - value => comp.default_qa_contact.login - size => 64 - emptyok => 1 - %] - </td> -[% END %] - - </tr> - <tr> - <td valign="top"> - <label for="initialcc">Default CC List:</label> - </td> - <td> - [% INCLUDE global/userselect.html.tmpl - name => "initialcc" - id => "initialcc" - value => initial_cc_names - size => 64 - multiple => 5 - %] - <br> - [% IF !Param("usemenuforusers") %] - <em>Enter user names for the CC list as a comma-separated list.</em> - [% END %] - </td> - </tr> + [% PROCESS "admin/components/edit-common.html.tmpl" %] + <tr> <td>[% terms.Bugs %]:</td> <td> |