summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/tabs.html.tmpl
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-02-24 13:39:34 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2010-02-24 13:39:34 +0100
commit06e7baa3fb12979c60b6c5ba59322d33a73e3e58 (patch)
tree40f85c97385096e6d27362c7969985a675fc3dce /template/en/default/global/tabs.html.tmpl
parentf6e24acaeb1e9b0f7f4eafb27bc7adf81d5dd9e2 (diff)
downloadbugzilla-06e7baa3fb12979c60b6c5ba59322d33a73e3e58.tar.gz
bugzilla-06e7baa3fb12979c60b6c5ba59322d33a73e3e58.tar.xz
Bug 547496: Add IDs to some form elements
r=pyrzak a=LpSolit
Diffstat (limited to 'template/en/default/global/tabs.html.tmpl')
-rw-r--r--template/en/default/global/tabs.html.tmpl8
1 files changed, 6 insertions, 2 deletions
diff --git a/template/en/default/global/tabs.html.tmpl b/template/en/default/global/tabs.html.tmpl
index 4f363c222..85556c482 100644
--- a/template/en/default/global/tabs.html.tmpl
+++ b/template/en/default/global/tabs.html.tmpl
@@ -35,9 +35,13 @@
[% FOREACH tab = tabs %]
[% IF tab.name == current_tab_name %]
- <td class="selected">[% tab.label FILTER html %]</td>
+ <td id="tab_[% tab.name FILTER html %]" class="selected">
+ [% tab.label FILTER html %]</td>
[% ELSE %]
- <td class="clickable_area" onClick="document.location='[% tab.link FILTER html %]'"><a href="[% tab.link FILTER html %]">[% tab.label FILTER html %]</a></td>
+ <td id="tab_[% tab.name FILTER html %]" class="clickable_area"
+ onClick="document.location='[% tab.link FILTER html %]'">
+ <a href="[% tab.link FILTER html %]">[% tab.label FILTER html %]</a>
+ </td>
[% END %]
[% END %]