summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/new_new_tab.html
diff options
context:
space:
mode:
authormirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-01 16:55:15 +0000
committermirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-01 16:55:15 +0000
commitcf4e8bf9d049611d5fdb349cb669042cc94af23c (patch)
tree7bf1df56015ff8948a78407bfa4d207afecc3ad4 /chrome/browser/resources/new_new_tab.html
parent717b292296c56cd83a438d32ab24859b2d8999a5 (diff)
downloadchromium_src-cf4e8bf9d049611d5fdb349cb669042cc94af23c.zip
chromium_src-cf4e8bf9d049611d5fdb349cb669042cc94af23c.tar.gz
chromium_src-cf4e8bf9d049611d5fdb349cb669042cc94af23c.tar.bz2
Remove null link from "welcome to tips" default suggestion. Also make some hard-coded strings in new tab page into localizable .grd strings, and fix bug introduced in r19556.
BUG= http://crbug.com/15467 TEST= Run with new new tab page for the first time, with no tips stored in preferences. Note that welcome tip is not a link. Review URL: http://codereview.chromium.org/147247 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19740 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/new_new_tab.html')
-rw-r--r--chrome/browser/resources/new_new_tab.html11
1 files changed, 8 insertions, 3 deletions
diff --git a/chrome/browser/resources/new_new_tab.html b/chrome/browser/resources/new_new_tab.html
index d3a2d22..34404e2 100644
--- a/chrome/browser/resources/new_new_tab.html
+++ b/chrome/browser/resources/new_new_tab.html
@@ -164,10 +164,15 @@ logEvent('log start');
</div><div class="spacer">
</div><div id="tips" class="section">
- <h2>Tips and Suggestions</h2>
- <div class="item-container">
- <div id="tip-items" jsskip="!processing">
+ <h2 jscontent="tipsandsuggestions"></h2>
+ <div id="tip-items" jsskip="!processing">
+ <div class="tips-title item" jsselect="$this"
+ jsdisplay="!url"
+ jscontent="localStrings.getString('defaulttipstitle')">
+ </div>
+ <div class="tips-container item-container">
<a class="item" jsselect="$this"
+ jsdisplay="url.length"
jsvalues="href:url;title:title"
jscontent="title"></a>
</div>