[%# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
#%]
[% DEFAULT qs_suffix = "" %]
[% USE Bugzilla %]
- Home
- | New
- | Browse
- | Search
-
|
[?]
- | Reports
-
[% IF Param('shutdownhtml') || Bugzilla.has_flags %]
|
[% IF user.id %]
My Requests
[% ELSE %]
Requests
[% END %]
[% END %]
[%-# Work around FF bug: keep this on one line %]
[% IF user.login %]
- | Preferences
[% IF user.in_group('tweakparams') || user.in_group('editusers') || user.can_bless
|| (Param('useclassification') && user.in_group('editclassifications'))
|| user.in_group('editcomponents') || user.in_group('admin') || user.in_group('creategroups')
|| user.in_group('editkeywords') || user.in_group('bz_canusewhines')
|| user.get_products_by_permission("editcomponents").size %]
- | Administration
[% END %]
[% PROCESS link_to_documentation %]
-
|
[% IF user.authorizer.can_logout %]
Log out
[% ELSE %]
Logged in as
[% END %]
[% IF sudoer %]
[%+ sudoer.login FILTER html %] (impersonating
[%+ user.login FILTER html %]
end session)
[% ELSE %]
[%+ user.login FILTER html %]
[% END %]
[%-# Work around FF bug: keep this on one line %]
[% ELSE %]
[% PROCESS link_to_documentation %]
[% IF Param('createemailregexp')
&& user.authorizer.user_can_create_account %]
-
|
New Account
[% END %]
[%# Only display one login form when we're on a LOGIN_REQUIRED page. That
# way, we're guaranteed that the user will use the form that has
# hidden_fields in it (the center form) instead of this one. Also, it's
# less confusing to have one form (as opposed to three) when you're
# required to log in.
#%]
[% IF user.authorizer.can_login && !Bugzilla.page_requires_login %]
[% PROCESS "account/auth/login-small.html.tmpl" %]
[% END %]
[% END %]
[% Hook.process("link-row") %]
[% BLOCK link_to_documentation %]
[% IF doc_section && Param('docs_urlbase') %]
|
Help
[% END %]
[% END %]