summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/params
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2014-01-07 11:42:19 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2014-01-07 11:42:19 +0100
commit2b574f4d63e4ada0db82ca5a56773b3acf771d78 (patch)
treeb9523ffbccca38f11cf862fb2eb32d95737d9541 /template/en/default/admin/params
parentd4f65f36b7d31d50f39264882c5440b842429bba (diff)
downloadbugzilla-2b574f4d63e4ada0db82ca5a56773b3acf771d78.tar.gz
bugzilla-2b574f4d63e4ada0db82ca5a56773b3acf771d78.tar.xz
Bug 840407: Remove the "align" and "valign" attributes
r/a=justdave
Diffstat (limited to 'template/en/default/admin/params')
-rw-r--r--template/en/default/admin/params/editparams.html.tmpl24
-rw-r--r--template/en/default/admin/params/index.html.tmpl42
2 files changed, 27 insertions, 39 deletions
diff --git a/template/en/default/admin/params/editparams.html.tmpl b/template/en/default/admin/params/editparams.html.tmpl
index 50a0a2ea5..00fb27ba4 100644
--- a/template/en/default/admin/params/editparams.html.tmpl
+++ b/template/en/default/admin/params/editparams.html.tmpl
@@ -68,19 +68,17 @@
</div>
<div class="cell">
- [% IF curpanel == -1 %]
- [% PROCESS admin/params/index.html.tmpl panels = panels %]
- [% ELSE %]
-
- <div class="contribute"><strong>Note:</strong>
- B[% %]ugzilla is developed entirely by volunteers.
- The best way to give back to the B[% %]ugzilla project is to
- <a href="http://www.bugzilla.org/contribute/">contribute</a>
- yourself!
- You don't have to be a programmer to contribute, there are lots of
- things that we need.
- </div>
+ <div class="contribute"><strong>Note:</strong>
+ B[% %]ugzilla is developed entirely by volunteers.
+ The best way to give back to the B[% %]ugzilla project is to
+ <a href="http://www.bugzilla.org/contribute/">contribute</a> yourself!
+ You don't have to be a programmer to contribute, there are lots of
+ things that we need.
+ </div>
+ [% IF curpanel == -1 %]
+ [% PROCESS admin/params/index.html.tmpl panels = panels %]
+ [% ELSE %]
<p>
This lets you edit the basic operating parameters of [% terms.Bugzilla %].
Be careful!<br>
@@ -95,7 +93,7 @@
<input type="hidden" name="token" value="[% token FILTER html %]">
<input type="submit" id="save-params" value="Save Changes">
</form>
- [% END %]
+ [% END %]
</div>
</div>
diff --git a/template/en/default/admin/params/index.html.tmpl b/template/en/default/admin/params/index.html.tmpl
index 65aa398eb..ee64eca9f 100644
--- a/template/en/default/admin/params/index.html.tmpl
+++ b/template/en/default/admin/params/index.html.tmpl
@@ -6,33 +6,23 @@
# defined by the Mozilla Public License, v. 2.0.
#%]
-<p>
- All parameters are displayed below, per section.
- If you cannot find one from here, then the parameter does not exist.
-</p>
+<div id="params_index">
+ <p>
+ All parameters are displayed below, per section.
+ If you cannot find one from here, then the parameter does not exist.
+ </p>
-<div align="center">
- <table>
- <tr>
- <th>Parameter</th>
- <th>Section</th>
- </tr>
- [% FOREACH panel = panels %]
+ [% FOREACH panel = panels %]
+ <h3>[% panel.title FILTER html %]</h3>
+
+ <ul>
[% FOREACH param = panel.param_list.sort('name') %]
- <tr>
- <td>
- <a href="editparams.cgi?section=
- [%- panel.name FILTER uri %]#[% param.name FILTER uri %]_desc">
- [% param.name FILTER html %]</a>
- </td>
- <td>
- [% panel.title FILTER html %]
- </td>
- </tr>
+ <li>
+ <a href="editparams.cgi?section=
+ [%- panel.name FILTER uri %]#[% param.name FILTER uri %]_desc">
+ [% param.name FILTER html %]</a>
+ </li>
[% END %]
- <tr>
- <td>&nbsp;</td><td>&nbsp;</td>
- </tr>
- [% END %]
- </table>
+ </ul>
+ [% END %]
</div>