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

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

Issue 102593005: Clean patch with DCC static content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: bumped versions of cron and app, so running server won't update Created 7 years 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/table_of_contents_items.html
diff --git a/chrome/common/extensions/docs/templates/private/table_of_contents_items.html b/chrome/common/extensions/docs/templates/private/table_of_contents_items.html
index 3c206424e1fb70815856cb8789e7ba75ad7e2a67..f5f8bd1693eabf5b1769c4e60aade2db78941b5d 100644
--- a/chrome/common/extensions/docs/templates/private/table_of_contents_items.html
+++ b/chrome/common/extensions/docs/templates/private/table_of_contents_items.html
@@ -1,8 +1,21 @@
-<ol>
- {{#i:items}}
- <li {{?i.separator}}class="separator"{{/}}>
- <a href="#{{i.link}}">{{{i.title}}}</a>
- {{?i.subheadings +partials.table_of_contents_items items:i.subheadings /}}
+<ol class="toc">
+ {{#l0:items}}{{?l0.hideInTOC}}{{:l0.hideInTOC}}
+ <li class="toplevel"><a href="#{{l0.link}}">{{{l0.title}}}</a>
+ {{?l0.subheadings}}
+ <ol class="toc">
+ {{#l1:l0.subheadings}}{{?l1.hideInTOC}}{{:l1.hideInTOC}}
+ <li><a href="#{{l1.link}}">{{{l1.title}}}</a>
+ {{?l1.subheadings}}
+ <ol class="toc">
+ {{#l2:l1.subheadings}}{{?l2.hideInTOC}}{{:l2.hideInTOC}}
+ <li><a href="#{{l2.link}}">{{{l2.title}}}</a></li>
+ {{/l2.hideInTOC}}{{/l1.subheadings}}
+ </ol>
+ {{/l1.subheadings}}
+ </li>
+ {{/l1.hideInTOC}}{{/l0.subheadings}}
+ </ol>
+ {{/l0.subheadings}}
</li>
- {{/items}}
+ {{/l0.hideInTOC}}{{/items}}
</ol>

Powered by Google App Engine
This is Rietveld 408576698