mirror of
https://github.com/fergalmoran/chrometophone.git
synced 2025-12-22 09:41:51 +00:00
Capitalise 'Sign in'. Add boilerplate
This commit is contained in:
@@ -39,8 +39,10 @@ body, td {
|
||||
document.getElementById('sign_in_out_div').innerHTML =
|
||||
'<a href="help.html" onclick="chrome.extension.getBackgroundPage().closeBrowserChannel(); oauth.clearTokens()">' + chrome.i18n.getMessage('sign_out_message');
|
||||
} else {
|
||||
var sign_in_message = chrome.i18n.getMessage('sign_in_message');
|
||||
sign_in_message = sign_in_message.substring(0, 1).toUpperCase() + sign_in_message.substring(1); // TODO: Get a new title case string translated
|
||||
document.getElementById('sign_in_out_div').innerHTML =
|
||||
'<a href="oauth_interstitial.html">' + chrome.i18n.getMessage('sign_in_message');;
|
||||
'<a href="oauth_interstitial.html">' + sign_in_message;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -1,3 +1,19 @@
|
||||
<!--
|
||||
Copyright 2011 Google Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<html>
|
||||
<head>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user