Index: chrome/common/extensions/docs/server2/templates/private/sample_item.html |
diff --git a/chrome/common/extensions/docs/server2/templates/private/sample_item.html b/chrome/common/extensions/docs/server2/templates/private/sample_item.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2cc582761fdc034802ce8dd3001316a8bd98ed58 |
--- /dev/null |
+++ b/chrome/common/extensions/docs/server2/templates/private/sample_item.html |
@@ -0,0 +1,21 @@ |
+<div class="sample" tags="{{#api_calls}}{{name}} {{/}}"> |
+ <img class="icon" src="{{icon}}"> |
+ <h2><a href="{{?is_apps}}{{github_path}}{{:}}{{path}}.zip{{/}}">{{name}}</a></h2> |
not at google - send to devlin
2012/08/10 06:02:18
Why do we need github_path at all? Can we just mak
cduvall
2012/08/10 21:17:47
Done.
|
+ {{description}} |
+ <div> |
+ <span class="label">Calls:</span> |
+ <ul> |
+ {{#api_calls}} |
+ <li><code><a href="{{link}}">{{name}}</a></code></li> |
+ {{/}} |
+ </ul> |
+ </div> |
+ <div> |
+ <span class="label">Source Files:</span> |
+ <ul> |
+ {{#files}} |
+ <li><code><a href="{{?is_apps}}{{github_path}}{{:}}{{path}}{{/}}/{{@}}">{{@}}</a></code></li> |
+ {{/}} |
+ </ul> |
+ </div> |
+</div> |