summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2016-09-29 17:46:47 +0200
committerDavid Lawrence <dkl@mozilla.com>2016-09-29 17:46:47 +0200
commit381c4dd4d8a013008264730137f442daecba1f5d (patch)
tree09d63d5b1c9a3190e13cbd939370c4cd49374098
parent4ac7c1e6ed67c75b3d558dc59adf736e96a988ff (diff)
downloadbugzilla-381c4dd4d8a013008264730137f442daecba1f5d.tar.gz
bugzilla-381c4dd4d8a013008264730137f442daecba1f5d.tar.xz
Bug 1305671 - Bogus </a> after GitHub sign-in button
-rw-r--r--extensions/GitHubAuth/template/en/default/hook/account/auth/login-additional_methods.html.tmpl12
-rw-r--r--extensions/GitHubAuth/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl2
2 files changed, 6 insertions, 8 deletions
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
index 17bcb3e42..225b6f8a0 100644
--- 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
@@ -7,14 +7,12 @@
#%]
[% USE Bugzilla %]
[% IF Param('user_info_class').split(',').contains('GitHubAuth') %]
- <p>
- <form method="post" action="[% urlbase FILTER html %]github.cgi">
- <input type="hidden" name="github_secret" value="[% Bugzilla.github_secret FILTER html %]">
- <input type="hidden" name="target_uri" value="[% Bugzilla.cgi.target_uri FILTER html %]">
- <input type="image" src="extensions/GitHubAuth/web/images/github_sign_in.png"
+ <form method="post" action="[% urlbase FILTER html %]github.cgi">
+ <input type="hidden" name="github_secret" value="[% Bugzilla.github_secret FILTER html %]">
+ <input type="hidden" name="target_uri" value="[% Bugzilla.cgi.target_uri FILTER html %]">
+ <input type="image" src="extensions/GitHubAuth/web/images/github_sign_in.png"
alt="Sign in with GitHub"
title="Sign in with GitHub"
width="185" height="25">
- </form>
- </p>
+ </form>
[% END %] \ No newline at end of file
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
index f32b34a59..adcd9e067 100644
--- 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
@@ -24,7 +24,7 @@
<input type="hidden" name="target_uri" value="[% Bugzilla.cgi.target_uri FILTER html %]">
<input type="image" src="extensions/GitHubAuth/web/images/sign_in.png" height="22" width="75" align="absmiddle"
alt="Sign in with GitHub"
- title="Sign in with GitHub"></a> or
+ title="Sign in with GitHub"> or
</form>
</span>
[% END %]