summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorGuy Pyrzak <guy.pyrzak@gmail.com>2010-09-19 01:39:58 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-09-19 01:39:58 +0200
commitb493ba43eb4516605f78de11a4f799b56ef55174 (patch)
tree6512684573d1be04ba09d5fb15d6e8de819e6e08 /template/en/default
parent6aec8ad47e62041e9d72f53a2e043d938ec01eae (diff)
downloadbugzilla-b493ba43eb4516605f78de11a4f799b56ef55174.tar.gz
bugzilla-b493ba43eb4516605f78de11a4f799b56ef55174.tar.xz
Bug 594947: show_bug text boxes are not 100% width
r/a=mkanat
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/bug/edit.html.tmpl3
-rw-r--r--template/en/default/global/userselect.html.tmpl6
2 files changed, 8 insertions, 1 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index 4b5e7769e..3b2d4d29b 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -482,6 +482,7 @@
id => "assigned_to"
name => "assigned_to"
value => bug.assigned_to.login
+ classes => ["bz_userfield"]
size => 30
%]
<br>
@@ -524,6 +525,7 @@
name => "qa_contact"
value => bug.qa_contact.login
size => 30
+ classes => ["bz_userfield"]
emptyok => 1
%]
<br>
@@ -821,6 +823,7 @@
name => "newcc"
value => ""
size => 30
+ classes => ["bz_userfield"]
multiple => 5
%]
</div>
diff --git a/template/en/default/global/userselect.html.tmpl b/template/en/default/global/userselect.html.tmpl
index 5924e0723..9fd2df79d 100644
--- a/template/en/default/global/userselect.html.tmpl
+++ b/template/en/default/global/userselect.html.tmpl
@@ -20,6 +20,7 @@
# name: mandatory; field name
# id: optional; field id
# value: optional; default field value/selection
+ # classes: optional; an array of classes to be added
# onchange: optional; onchange attribute value
# disabled: optional; if true, the field is disabled
# accesskey: optional, input only; accesskey attribute value
@@ -34,6 +35,7 @@
[% IF Param("usemenuforusers") %]
<select name="[% name FILTER html %]"
[% IF id %] id="[% id FILTER html %]" [% END %]
+ [% IF classes %] class="[% classes.join(' ') FILTER html %]" [% END %]
[% IF onchange %] onchange="[% onchange FILTER html %]" [% END %]
[% IF disabled %] disabled="[% disabled FILTER html %]" [% END %]
[% IF accesskey %] accesskey="[% accesskey FILTER html %]" [% END %]
@@ -78,11 +80,13 @@
</select>
[% ELSE %]
[% IF id && feature_enabled('jsonrpc') %]
- <div id="[% id FILTER html %]_autocomplete">
+ <div id="[% id FILTER html %]_autocomplete"
+ [% IF classes %] class="[% classes.join(' ') FILTER html %]" [% END %]>
[% END %]
<input
name="[% name FILTER html %]"
value="[% value FILTER html %]"
+ [% IF classes %] class="[% classes.join(' ') FILTER html %]" [% END %]
[% IF onchange %] onchange="[% onchange FILTER html %]" [% END %]
[% IF disabled %] disabled="[% disabled FILTER html %]" [% END %]
[% IF accesskey %] accesskey="[% accesskey FILTER html %]" [% END %]