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

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: Minor changes 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/30 18:34:19 We really need to generate something less embarras
epeterson 2013/05/13 02:38:10 Done.
+ {{/}}
+ </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/30 18:34:19 If the availability isn't available, it's probably
epeterson 2013/05/13 02:38:10 Done. (ha.)
+ {{/}}
+ {{/}}
not at google - send to devlin 2013/04/30 18:34:19 it's nice to close these off with the name of the
epeterson 2013/05/13 02:38:10 Done.
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <strong>Permissions:</strong>
+ </td>
+ <td>
+ {{?api.intro_permissions}}
not at google - send to devlin 2013/04/30 18:34:19 I don't see the point of having this be intro_perm
epeterson 2013/05/13 02:38:10 It looks like 'permissions' is already reserved fo
+ {{{api.intro_permissions}}}
+ {{:}}
+ None
+ {{/}}
+ </td>
+ </tr>
+ {{?api.learn_more}}
+ <tr>
+ <td>
+ <strong>Learn more:</strong>
+ </td>
+ <td>
+ {{{api.learn_more}}}
+ </td>
+ </tr>
+ {{/}}
+</table>

Powered by Google App Engine
This is Rietveld 408576698