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 --- .../auth/login-additional_methods.html.tmpl | 18 +++++++++++++++ .../auth/login-small-additional_methods.html.tmpl | 26 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 extensions/GitHubAuth/template/en/default/hook/account/auth/login-additional_methods.html.tmpl create mode 100644 extensions/GitHubAuth/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl (limited to 'extensions/GitHubAuth/template/en/default/hook/account/auth') diff --git a/extensions/GitHubAuth/template/en/default/hook/account/auth/login-additional_methods.html.tmpl b/extensions/GitHubAuth/template/en/default/hook/account/auth/login-additional_methods.html.tmpl new file mode 100644 index 000000000..26eb8d63b --- /dev/null +++ b/extensions/GitHubAuth/template/en/default/hook/account/auth/login-additional_methods.html.tmpl @@ -0,0 +1,18 @@ +[%# 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. + #%] + +[% IF Param('user_info_class').split(',').contains('GitHubAuth') %] +

+ + Sign in with GitHub + +

+[% END %] diff --git a/extensions/GitHubAuth/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl b/extensions/GitHubAuth/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl new file mode 100644 index 000000000..6c4582b70 --- /dev/null +++ b/extensions/GitHubAuth/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl @@ -0,0 +1,26 @@ +[%# 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. + #%] + +[% IF Param('user_info_class').split(',').contains('GitHubAuth') %] + + + + Sign in with GitHub or + +[% END %] -- cgit v1.2.3-24-g4f1b