diff options
author | gerv%gerv.net <> | 2004-03-20 17:19:46 +0100 |
---|---|---|
committer | gerv%gerv.net <> | 2004-03-20 17:19:46 +0100 |
commit | fcf42ecc83e078f8d46007473a4a83b9733f102f (patch) | |
tree | 57675a902af2af950aa523eb8aca9cf239842211 /template | |
parent | e6f6afded0637f910791dda714270b2766024793 (diff) | |
download | bugzilla-fcf42ecc83e078f8d46007473a4a83b9733f102f.tar.gz bugzilla-fcf42ecc83e078f8d46007473a4a83b9733f102f.tar.xz |
Bug 232338 - make the footer wrap cleanly, so it doesn't over-widen the page. Patch by gerv; r,a=justdave.
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/global/useful-links.html.tmpl | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/template/en/default/global/useful-links.html.tmpl b/template/en/default/global/useful-links.html.tmpl index 289347d52..806edfcf7 100644 --- a/template/en/default/global/useful-links.html.tmpl +++ b/template/en/default/global/useful-links.html.tmpl @@ -25,13 +25,13 @@ [% PROCESS global/variables.none.tmpl %] <form method="get" action="show_bug.cgi"> - <table width="100%"> + <table width="100%" cellspacing="4"> <tr> <td> Actions: </td> - <td valign="middle" nowrap="nowrap"> + <td valign="middle"> <a href="enter_bug.cgi">New</a> | <a href="query.cgi">Search</a> | @@ -48,36 +48,46 @@ [% END %] [% IF user && Param('usevotes') %] - | <a href="votes.cgi?action=show_user">My Votes</a> + | <a href="votes.cgi?action=show_user">My Votes</a> [% END %] + + [% IF user.login %] + [% ' | <a href="sanitycheck.cgi">Sanity check</a>' + IF user.groups.tweakparams %] + | <a href="relogin.cgi">Log out</a> + [% user.login FILTER html %] + [% ELSE %] + [% IF Param('createemailregexp') %] + | <a href="createaccount.cgi">New Account</a> + [% END %] + | <a href="query.cgi?GoAheadAndLogIn=1">Log In</a> + [% END %] </td> - - <td> </td> + </tr> [% IF user.login %] - + <tr> + <td> + Edit: + </td> <td valign="middle"> - Edit <a href="userprefs.cgi">prefs</a> - [% ', <a href="editparams.cgi">parameters</a>' - IF user.groups.tweakparams %] - [% ', <a href="editusers.cgi">users</a>' IF user.groups.editusers + <a href="userprefs.cgi">Prefs</a> + [% ' | <a href="editparams.cgi">Parameters</a>' + IF user.groups.tweakparams %] + [% ' | <a href="editusers.cgi">Users</a>' IF user.groups.editusers || user.can_bless %] - [% ', <a href="editproducts.cgi">products</a>' - IF user.groups.editcomponents %] - [% ', <a href="editflagtypes.cgi">flags</a>' - IF user.groups.editcomponents %] - [% ', <a href="editgroups.cgi">groups</a>' - IF user.groups.creategroups %] - [% ', <a href="editkeywords.cgi">keywords</a>' - IF user.groups.editkeywords %] - [% Hook.process("edit") %] - [% ' | <a href="sanitycheck.cgi">Sanity check</a>' - IF user.groups.tweakparams %] - - | <a href="relogin.cgi">Log out</a> - [% user.login FILTER html %] + [% ' | <a href="editproducts.cgi">Products</a>' + IF user.groups.editcomponents %] + [% ' | <a href="editflagtypes.cgi">Flags</a>' + IF user.groups.editcomponents %] + [% ' | <a href="editgroups.cgi">Groups</a>' + IF user.groups.creategroups %] + [% ' | <a href="editkeywords.cgi">Keywords</a>' + IF user.groups.editkeywords %] </td> </tr> + [% END %] + [%# Saved searches %] @@ -88,7 +98,7 @@ </td> [% END %] - <td colspan="3"> + <td valign="middle"> [% IF user.showmybugslink %] [% filtered_username = user.login FILTER url_quote %] <a href="[% Param('mybugstemplate').replace('%userid%', filtered_username) %]">My [% terms.Bugs %]</a> @@ -102,16 +112,6 @@ [% END %] </td> </tr> - - [% ELSE %] - <td valign="middle" align="right"> - [% IF Param('createemailregexp') %] - <a href="createaccount.cgi">New Account</a> | - [% END %] - <a href="query.cgi?GoAheadAndLogIn=1">Log In</a> - </td> - </tr> - [% END %] - + </table> </form> |