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

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

Issue 10825067: Extensions Docs Server: Apps samples page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes 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/table_of_contents.html
diff --git a/chrome/common/extensions/docs/server2/templates/private/table_of_contents.html b/chrome/common/extensions/docs/server2/templates/private/table_of_contents.html
index e14afaee3fdc99f463edf4c5ba5b7d1b7aa73365..e966ffadaebf1a943d50f9fcfa3b2f8e624aed56 100644
--- a/chrome/common/extensions/docs/server2/templates/private/table_of_contents.html
+++ b/chrome/common/extensions/docs/server2/templates/private/table_of_contents.html
@@ -20,7 +20,11 @@
{{?api.properties}}<li>{{+partials.toc_properties}}</li>{{/}}
{{?api.functions}}<li>{{+partials.toc_functions}}</li>{{/}}
{{?api.events}}<li>{{+partials.toc_events}}</li>{{/}}
- {{?api.samples}}<li>{{+partials.toc_samples}}</li>{{/}}
+ {{?is_apps}}
+ {{?api.samples.apps}}<li>{{+partials.toc_samples is_apps:true}}</li>{{/}}
+ {{:is_apps}}
+ {{?api.samples.extensions}}<li>{{+partials.toc_samples is_apps:false}}</li>{{/}}
+ {{/is_apps}}
{{/api}}
</ol>
</li>

Powered by Google App Engine
This is Rietveld 408576698