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

Unified Diff: chrome/common/extensions/docs/server2/templates/private/sample_item.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/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>

Powered by Google App Engine
This is Rietveld 408576698