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

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

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Finding earliest 'stable' availability using features files Created 7 years, 8 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/templates/private/intro_table.html
diff --git a/chrome/common/extensions/docs/templates/private/intro_table.html b/chrome/common/extensions/docs/templates/private/intro_table.html
new file mode 100644
index 0000000000000000000000000000000000000000..2f69f7154932eaa0a315fe04718d68fb0e9f8100
--- /dev/null
+++ b/chrome/common/extensions/docs/templates/private/intro_table.html
@@ -0,0 +1,56 @@
+<table class="intro">
+ <tr>
+ <th scope="col"></th>
+ <th scope="col"></th>
+ </tr>
+ <tr>
+ <td>
+ <strong>Description:</strong>
+ </td>
+ <td>
+ {{?api.description}}
+ {{{api.description}}}
+ {{:}}
+ No description is currently available.
not at google - send to devlin 2013/04/27 01:48:34 it'd be nice to make sure this never happens...
+ {{/}}
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <strong>Availability:</strong>
+ </td>
+ <td>
+ {{?api.experimental}}
+ Experimental only (see <a href="experimental.html#using">How to use experimental APIs</a>).
+ {{:}}
+ {{?api.availability}}
+ Chrome {{api.availability}}
+ {{:}}
+ No availability is currently available.
not at google - send to devlin 2013/04/27 01:48:34 we need to make sure this never happens.
+ {{/}}
+ {{/}}
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <strong>Permissions:</strong>
+ </td>
+ <td>
+ {{?api.intro_permissions}}
+ {{{api.intro_permissions}}}
+ {{:}}
+ None
+ {{/}}
+ </td>
+ </tr>
+ {{?api.learn_more}}
+ <tr>
+ <td>
+ <strong>Learn more:</strong>
+ </td>
+ <td>
+ {{{api.learn_more}}}
not at google - send to devlin 2013/04/27 01:48:34 learn more are always links right? we could encode
+ </td>
+ </tr>
+ {{/}}
+</table>

Powered by Google App Engine
This is Rietveld 408576698