summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/components
diff options
context:
space:
mode:
authorMatt Selsky <selsky@columbia.edu>2011-10-03 00:57:07 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2011-10-03 00:57:07 +0200
commita8e875973a29772c28b149baa754cbaf4d2aaee7 (patch)
treeb2289a6f6fcbf6f3037ac5ea56bfed5972d891d1 /template/en/default/admin/components
parent898e5ab5f292d8d0d72ae0aa9fc6d4638e5d6eca (diff)
downloadbugzilla-a8e875973a29772c28b149baa754cbaf4d2aaee7.tar.gz
bugzilla-a8e875973a29772c28b149baa754cbaf4d2aaee7.tar.xz
Bug 615636: Labels are badly aligned when editing versions and milestones in admin pages
r/a=LpSolit
Diffstat (limited to 'template/en/default/admin/components')
-rw-r--r--template/en/default/admin/components/edit-common.html.tmpl15
-rw-r--r--template/en/default/admin/components/edit.html.tmpl4
2 files changed, 9 insertions, 10 deletions
diff --git a/template/en/default/admin/components/edit-common.html.tmpl b/template/en/default/admin/components/edit-common.html.tmpl
index 069b56cfd..3e489af74 100644
--- a/template/en/default/admin/components/edit-common.html.tmpl
+++ b/template/en/default/admin/components/edit-common.html.tmpl
@@ -23,15 +23,16 @@
#%]
<tr>
- <td valign="top">Component:</td>
- <td><input size="64" maxlength="64" name="component"
+ <th class="field_label"><label for="component">Component:</label></th>
+ <td><input size="64" maxlength="64" name="component" id="component"
value="[%- comp.name FILTER html %]"></td>
</tr>
<tr>
- <td valign="top">Component Description:</td>
+ <th class="field_label"><label for="[% desc_name FILTER html %]">Component Description:</label></th>
<td>
[% INCLUDE global/textarea.html.tmpl
name = 'description'
+ id = 'description'
minrows = 4
cols = 64
wrap = 'virtual'
@@ -40,7 +41,7 @@
</td>
</tr>
<tr>
- <td valign="top"><label for="initialowner">Default Assignee:</label></td>
+ <th class="field_label"><label for="initialowner">Default Assignee:</label></th>
<td>
[% INCLUDE global/userselect.html.tmpl
name => "initialowner"
@@ -52,7 +53,7 @@
</tr>
[% IF Param('useqacontact') %]
<tr>
- <td valign="top"><label for="initialqacontact">Default QA contact:</label></td>
+ <th class="field_label"><label for="initialqacontact">Default QA contact:</label></th>
<td>
[% INCLUDE global/userselect.html.tmpl
name => "initialqacontact"
@@ -65,9 +66,7 @@
</tr>
[% END %]
<tr>
- <td valign="top">
- <label for="initialcc">Default CC List:</label>
- </td>
+ <th class="field_label"><label for="initialcc">Default CC List:</label></th>
<td>
[% INCLUDE global/userselect.html.tmpl
name => "initialcc"
diff --git a/template/en/default/admin/components/edit.html.tmpl b/template/en/default/admin/components/edit.html.tmpl
index b5fc3c321..5236186cc 100644
--- a/template/en/default/admin/components/edit.html.tmpl
+++ b/template/en/default/admin/components/edit.html.tmpl
@@ -43,12 +43,12 @@
[% PROCESS "admin/components/edit-common.html.tmpl" %]
<tr>
- <td><label for="isactive">Enabled For [% terms.Bugs %]:</label></td>
+ <th class="field_label"><label for="isactive">Enabled For [% terms.Bugs %]:</label></th>
<td><input id="isactive" name="isactive" type="checkbox" value="1"
[% 'checked="checked"' IF comp.isactive %]></td>
</tr>
<tr>
- <td>[% terms.Bugs %]:</td>
+ <th class="field_label">[% terms.Bugs %]:</th>
<td>
[% IF comp.bug_count > 0 %]
<a title="[% terms.Bugs %] in component '[% comp.name FILTER html %]'"