Commit fde874c7 authored by cduvall@chromium.org's avatar cduvall@chromium.org

Extensions Docs Server: Apps titles should show "Apps" instead of "Extensions"

Templates now show "Apps" for apps and "Extensions" for extensions.

BUG=141576

Review URL: https://chromiumcodereview.appspot.com/10834255

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151126 0039d316-1c4b-4281-b951-d872f2087c98
parent c9ae298c
......@@ -112,6 +112,8 @@ class TemplateDataSource(object):
'partials': self,
'samples': self._samples_data_source,
'static': self._static_resources,
'apps_title': 'Apps',
'extensions_title': 'Extensions',
'true': True,
'false': False
}).text
......
......@@ -19,22 +19,22 @@
</div>
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
<h1>Google Chrome Extensions</h1>
<h1>Google Chrome {{title}}</h1>
<ul id="home" class="gc-topnav-tabs">
<li id="home_link">
<a href="index.html" title="Google Chrome Extensions home page"><div>Home</div></a>
<a href="index.html" title="Google Chrome {{title}} home page"><div>Home</div></a>
</li>
<li id="docs_link">
<a href="docs.html" title="Official Google Chrome Extensions documentation"><div>Docs</div></a>
<a href="docs.html" title="Official Google Chrome {{title}} documentation"><div>Docs</div></a>
</li>
<li id="faq_link">
<a href="faq.html" title="Answers to frequently asked questions about Google Chrome Extensions"><div>FAQ</div></a>
<a href="faq.html" title="Answers to frequently asked questions about Google Chrome {{title}}"><div>FAQ</div></a>
</li>
<li id="samples_link">
<a href="samples.html" title="Sample extensions (with source code)"><div>Samples</div></a>
<a href="samples.html" title="Sample {{title}} (with source code)"><div>Samples</div></a>
</li>
<li id="group_link">
<a href="http://groups.google.com/a/chromium.org/group/chromium-extensions" title="Google Chrome Extensions developer forum"><div>Group</div></a>
<a href="http://groups.google.com/a/chromium.org/group/chromium-extensions" title="Google Chrome {{title}} developer forum"><div>Group</div></a>
</li>
<li id="so_link">
<a href="http://stackoverflow.com/questions/tagged/google-chrome-extension" title="[google-chrome-extension] tag on Stack Overflow"><div>Questions?</div></a>
......
......@@ -6,7 +6,7 @@
{{+partials.title}}
</head>
<body>
{{+partials.header_body}}
{{+partials.header_body title:apps_title}}
<div id="gc-container">
{{+partials.apps_sidenav}}
<div id="gc-pagecontent">
......
......@@ -5,7 +5,7 @@
<title>{{article.title}} - Google Chrome</title>
</head>
<body>
{{+partials.header_body}}
{{+partials.header_body title:apps_title}}
<div id="gc-container">
{{+partials.apps_sidenav}}
<div id="gc-pagecontent">
......
......@@ -6,7 +6,7 @@
{{+partials.title}}
</head>
<body>
{{+partials.header_body}}
{{+partials.header_body title:extensions_title}}
<div id="gc-container">
{{+partials.extensions_sidenav}}
<div id="gc-pagecontent">
......
......@@ -5,7 +5,7 @@
<title>{{article.title}} - Google Chrome</title>
</head>
<body>
{{+partials.header_body}}
{{+partials.header_body title:extensions_title}}
<div id="gc-container">
{{+partials.extensions_sidenav}}
<div id="gc-pagecontent">
......
......@@ -3,10 +3,10 @@
<head>
{{+partials.header_head}}
<link href="{{static}}/css/index.css" rel="stylesheet" type="text/css">
<title>Google Chrome Extensions</title>
<title>Google Chrome Apps</title>
</head>
<body>
{{+partials.header_body}}
{{+partials.header_body title:apps_title}}
<div id="gc-container">
<div id="gc-pagecontent">
<table id="index">
......
......@@ -6,7 +6,7 @@
<title>Google Chrome Extensions</title>
</head>
<body>
{{+partials.header_body}}
{{+partials.header_body title:extensions_title}}
<div id="gc-container">
<div id="gc-pagecontent">
<table id="index">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment