From c0d00a57eebb31d3e2cdef0ebb9219ebe2fe2bab Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Tue, 3 Mar 2015 22:27:15 -0500 Subject: Github Auth Extension --- .../account/auth/github-verify-account.html.tmpl | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 extensions/GitHubAuth/template/en/default/account/auth/github-verify-account.html.tmpl (limited to 'extensions/GitHubAuth/template/en/default/account/auth') diff --git a/extensions/GitHubAuth/template/en/default/account/auth/github-verify-account.html.tmpl b/extensions/GitHubAuth/template/en/default/account/auth/github-verify-account.html.tmpl new file mode 100644 index 000000000..ba528b390 --- /dev/null +++ b/extensions/GitHubAuth/template/en/default/account/auth/github-verify-account.html.tmpl @@ -0,0 +1,48 @@ +[%# 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. + #%] + +[%# Input: github_emails, bugzilla_emails. + # This template will not be called when bugzilla_emails.size == 1 + # or when both github_emails.size == 0 && bugzilla_emails.size == 0 + #%] + +[% PROCESS global/variables.none.tmpl %] + +[% PROCESS global/header.html.tmpl + title = "Choose Account" +%] + +[% IF bugzilla_users %] +

Choose Account

+ +

It seems that more than one [% terms.Bugzilla %] account connected to + your GitHub account. You may choose to login by clicking the link below.

+ + +[% ELSE %] +

Account Not In [% terms.Bugzilla %]

+ + [% IF github_emails.size == 1 %] +

The email '[% github_emails.0 FILTER html %]' was not found in [% terms.Bugzilla %] and will need to be created to log in.

+ + Create Account + [% ELSE %] +

You have multiple email addresses associated with your GitHub account. + Which one should be used to create your [% terms.Bugzilla %] account?

+ + [% FOREACH email IN github_emails %] +
  • [% email FILTER html %]
  • + [% END %] + [% END %] +[% END %] + +[% PROCESS global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b