aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/custom/account/create.html.tmpl')
-rw-r--r--template/en/custom/account/create.html.tmpl101
1 files changed, 101 insertions, 0 deletions
diff --git a/template/en/custom/account/create.html.tmpl b/template/en/custom/account/create.html.tmpl
new file mode 100644
index 000000000..d6f788acb
--- /dev/null
+++ b/template/en/custom/account/create.html.tmpl
@@ -0,0 +1,101 @@
+[%# 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.
+ #%]
+
+[%# INTERFACE
+ # none
+ #
+ # Param("maintainer") is used to display the maintainer's email.
+ # Param("emailsuffix") is used to pre-fill the email field.
+ #%]
+
+[% PROCESS global/header.html.tmpl
+ title = "Create a new $terms.Bugzilla account"
+%]
+
+<div class="panel panel-default">
+ <div class="panel-heading">
+ <h3 class="panel-title">Create a new account</h3>
+ </div>
+ <div class="panel-body">
+
+<p>
+ To create a [% terms.Bugzilla %] account, all you need to do is to enter
+[% IF Param('emailsuffix') == '' %]
+ a legitimate email address.
+[% ELSE %]
+ an account name which when combined with [% Param('emailsuffix') %]
+ corresponds to an address where you receive email.
+[% END %]
+ You will receive an email at this address to confirm the creation of your
+ account. <b>You will not be able to log in until you receive the email.</b>
+ If it doesn't arrive within a reasonable amount of time, you may contact
+ the maintainer of this Bugzilla installation
+ at <a href="mailto:[% Param("maintainer") %]">[% Param("maintainer") %]</a>.
+</p>
+
+[% IF Param('allowemailchange') %]
+<p>
+ If you already have an account and want to change your
+ [% IF Param('emailsuffix') == '' %]
+ email address,
+ [% ELSE %]
+ login name,
+ [% END %]
+ you can change it from the Preferences page after logging in.
+</p>
+[% END %]
+
+<p>
+ A user account is required to report new [% terms.bugs %] or to comment into
+ existing ones, as you may be contacted for more information if needed.
+ This also lets other users clearly identify who is the author of comments
+ or changes made into [% terms.bugs %]. <b>Note that your email address will
+ <em>never</em> be displayed to logged out users. Only registered users will be
+ able to see it.</b>
+</p>
+
+[% IF Param('createemailregexp') == '.*' && Param('emailsuffix') == '' %]
+<p>
+ <b>PRIVACY NOTICE:</b> [% terms.Bugzilla %] is an open [% terms.bug %]
+ tracking system. Activity on most [% terms.bugs %], including email
+ addresses, will be visible to registered users. We <b>recommend</b> using a
+ secondary account or free web email service (such as Gmail, Yahoo,
+ Hotmail, or similar) to avoid receiving spam at your primary email address.
+</p>
+<p>
+<b>Please do not use temporary/throwaway email addresses to register, they cause
+too many mail bounces later when developers follow up bugs.</b>
+</p>
+[% END %]
+
+<form id="account_creation_form" method="get" action="createaccount.cgi" style="max-width:400px;">
+ <span class="label">
+ [% IF Param('emailsuffix') %]
+ Login:
+ [% ELSE %]
+ Email address:
+ [% END %]
+ </span>
+ <input type="hidden" id="token" name="token" value="[% issue_hash_token(['create_account']) FILTER html %]">
+
+ <div class="input-group">
+ <input size="35" id="login" name="login" class="form-control" autofocus
+ [%- ' type="email"' UNLESS Param('emailsuffix') %] required>
+ [% Param('emailsuffix') FILTER html %]
+ <div class="input-group-btn">
+ <div class="btn-group">
+ <button type="submit" class="btn btn-default" id="send" value="Send">Send</button>
+ </div>
+ </div>
+ </div>
+</form>
+
+</div>
+</div>
+
+[% PROCESS global/footer.html.tmpl %]