Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4281)

Unified Diff: chrome/common/extensions/docs/templates/private/samples.html

Issue 61733018: Docserver: Update to the latest version of handlebar. Lots of re-syntaxifying. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments, rebase Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/templates/private/samples.html
diff --git a/chrome/common/extensions/docs/templates/private/samples.html b/chrome/common/extensions/docs/templates/private/samples.html
index 30dd7c2114412fea1b1e4b0d31db7bce37804575..1d0769ad8f685181b7dcf0f28893de1e8bedeb9c 100644
--- a/chrome/common/extensions/docs/templates/private/samples.html
+++ b/chrome/common/extensions/docs/templates/private/samples.html
@@ -5,14 +5,14 @@
<!DOCTYPE html>
<html>
<head>
- {{+partials.header_head}}
+ {{+partials.header_head/}}
<link href="{{static}}/css/samples.css" rel="stylesheet" type="text/css">
<title>Sample {{title}} - Google Chrome {{title}}</title>
</head>
<body>
- {{+partials.header_body}}
+ {{+partials.header_body platform:platform title:title/}}
<div id="gc-container">
- {{+partials.sidenav items:sidenav}}
+ {{+partials.sidenav items:sidenav/}}
<div id="gc-pagecontent">
<h1 class="page_title">Sample {{title}}</h1>
<div id="controls">
@@ -25,16 +25,14 @@
<td class="label">Filter by API:</td>
<td>
<div id="api_filter_items">
- {{#filter_list.all}}{{+partials.filter_item}}{{/}}<br>
+ {{#filter:filter_list.all +partials.filter_item item:filter/}}<br>
</div>
</td>
</tr>
</table>
</div>
{{?samples_list}}
- {{#samples_list}}
- {{+partials.sample_item}}
- {{/samples_list}}
+ {{#s:samples_list +partials.sample_item sample:s/}}
{{:samples_list}}
<p>There was a problem fetching the sample {{title}}, but they may be
available directly from the <a href="{{samples_url}}">source</a>.</p>
@@ -42,6 +40,6 @@
</div>
</div>
</body>
- {{+partials.footer}}
+ {{+partials.footer/}}
<script src="{{static}}/js/samples.js" type="text/javascript"></script>
</html>

Powered by Google App Engine
This is Rietveld 408576698