summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/products/edit-common.html.tmpl
diff options
context:
space:
mode:
authorDexter Morgan <dmorgan@mageia.org>2013-02-20 16:07:49 +0000
committerColin Guthrie <colin@mageia.org>2014-09-15 20:44:40 +0100
commitba702dcd7ac9b2e6c4d46ad21c7bfacfd6883189 (patch)
treeece0d9c9d8fa1eff83f8527397da6b2c8c755dd6 /template/en/default/admin/products/edit-common.html.tmpl
parent48a4cb57974b7f1932c3fe31825c02e4dc4ab30c (diff)
downloadbugzilla-ba702dcd7ac9b2e6c4d46ad21c7bfacfd6883189.tar
bugzilla-ba702dcd7ac9b2e6c4d46ad21c7bfacfd6883189.tar.gz
bugzilla-ba702dcd7ac9b2e6c4d46ad21c7bfacfd6883189.tar.bz2
bugzilla-ba702dcd7ac9b2e6c4d46ad21c7bfacfd6883189.tar.xz
bugzilla-ba702dcd7ac9b2e6c4d46ad21c7bfacfd6883189.zip
Add 4.0 branch
Diffstat (limited to 'template/en/default/admin/products/edit-common.html.tmpl')
-rw-r--r--template/en/default/admin/products/edit-common.html.tmpl33
1 files changed, 2 insertions, 31 deletions
diff --git a/template/en/default/admin/products/edit-common.html.tmpl b/template/en/default/admin/products/edit-common.html.tmpl
index 2c94402..4812707 100644
--- a/template/en/default/admin/products/edit-common.html.tmpl
+++ b/template/en/default/admin/products/edit-common.html.tmpl
@@ -76,37 +76,8 @@
in this product:</label>
</th>
<td><input type="checkbox" id="allows_unconfirmed" name="allows_unconfirmed"
- [% ' checked="checked"' IF product.allows_unconfirmed %]
- [% IF Param('usevotes') %]
- onchange="bz_toggleClass('votes_to_confirm_container',
- 'bz_default_hidden')"
- [% END %]>
- [% IF Param('usevotes') %]
- <span id="votes_to_confirm_container"
- [% ' class="bz_default_hidden"' IF !product.allows_unconfirmed %]>
- ...and automatically confirm [% terms.bugs %] if they get
- <input size="3" maxlength="5" name="votestoconfirm" id="votestoconfirm"
- value="[% product.votes_to_confirm FILTER html %]">
- votes. (Setting this to 0 disables auto-confirming [% terms.bugs %]
- by vote.)
- </span>
- [% END %]
+ [% ' checked="checked"' IF product.allows_unconfirmed %]>
</td>
</tr>
-[% IF Param('usevotes') %]
- <tr>
- <th align="right">Maximum votes per person:</th>
- <td><input size="5" maxlength="5" name="votesperuser" id="votesperuser"
- value="[% product.votesperuser FILTER html %]">
- </td>
- </tr>
- <tr>
- <th align="right">
- Maximum votes a person can put on a single [% terms.bug %]:
- </th>
- <td><input size="5" maxlength="5" name="maxvotesperbug" id="maxvotesperbug"
- value="[% product.maxvotesperbug FILTER html %]">
- </td>
- </tr>
-[% END %]
+[% Hook.process('rows') %]