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

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

Issue 10825067: Extensions Docs Server: Apps samples page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed templates Created 8 years, 4 months 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/server2/templates/private/api_reference.html
diff --git a/chrome/common/extensions/docs/server2/templates/private/api_reference.html b/chrome/common/extensions/docs/server2/templates/private/api_reference.html
index b66678249512da2c665f34ee880b5fc6349b91e2..e50099ddf804d6055b825bd33096eb6ab07683bf 100644
--- a/chrome/common/extensions/docs/server2/templates/private/api_reference.html
+++ b/chrome/common/extensions/docs/server2/templates/private/api_reference.html
@@ -26,9 +26,11 @@
{{/}}
{{/api.events}}
</div>
-<a name="samples"></a>
-{{?api.samples}}<h2>Sample extensions that use chrome.{{api.name}}</h2>{{/}}
-{{#api.samples}}
- <a name="sample-{{?prefix}}{{prefix}}-{{/}}{{name}}"></a>
- <li><b><a href="{{path}}.zip">{{name}}</a></b> &ndash; {{description}}</li>
-{{/}}
+{{?samples_list}}
+ <a name="samples"></a>
+ <h2>Sample {{title}} that use chrome.{{api.name}}</h2>
+ {{#samples_list}}
+ <li><strong><a href="{{download_url}}">{{name}}</a></strong> &ndash;
+ {{description}}</li>
+ {{/samples_list}}
+{{/samples_list}}

Powered by Google App Engine
This is Rietveld 408576698