Capitalise 'Sign in'. Add boilerplate

This commit is contained in:
burke.davey
2011-05-05 10:59:49 +00:00
parent 9d95cc2efc
commit ebd9297616
2 changed files with 19 additions and 1 deletions

View File

@@ -39,8 +39,10 @@ body, td {
document.getElementById('sign_in_out_div').innerHTML = document.getElementById('sign_in_out_div').innerHTML =
'<a href="help.html" onclick="chrome.extension.getBackgroundPage().closeBrowserChannel(); oauth.clearTokens()">' + chrome.i18n.getMessage('sign_out_message'); '<a href="help.html" onclick="chrome.extension.getBackgroundPage().closeBrowserChannel(); oauth.clearTokens()">' + chrome.i18n.getMessage('sign_out_message');
} else { } 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 = 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> </script>

View File

@@ -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> <html>
<head> <head>