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

Side by Side 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: Addressing comments - Patch currently being broken up Created 7 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 <table class="intro">
2 <tr>
3 <th scope="col"></th>
4 <th scope="col"></th>
5 </tr>
6 <tr>
7 <td>
8 <strong>Description:</strong>
9 </td>
10 <td>
11 {{?api.description}}
12 {{{api.description}}}
13 {{:}}
14 The <code>chrome.{{api.name}}</code> API
15 {{/api.description}}
16 </td>
17 </tr>
18 <tr>
19 <td>
20 <strong>Availability:</strong>
21 </td>
22 <td>
23 {{?api.availability}}
24 Chrome {{api.availability}}
25 {{:api.availability}}
26 {{?api.experimental}}
27 Experimental only (see <a href="experimental.html#using">How to use ex perimental APIs</a>)
28 {{:api.experimental}}
29 Available.
30 {{/api.experimental}}
31 {{/api.availability}}
32 </td>
33 </tr>
34 <tr>
35 <td>
36 <strong>Permissions:</strong>
37 </td>
38 <td>
39 {{?api.api_permissions}}
40 {{#api.api_permissions}}
41 {{?permission}}<code>{{permission}}</code>{{/permission}}
42 {{?extra}}{{{extra}}}{{/extra}}
43 <br>
44 {{/api.api_permissions}}
45 {{:api.api_permissions}}
46 None
47 {{/api.api_permissions}}
48 </td>
49 </tr>
50 {{?api.learn_more}}
51 <tr>
52 <td>
53 <strong>Learn more:</strong>
54 </td>
55 <td>
56 {{#api.learn_more}}
57 {{?prefix}}{{prefix}}{{/prefix}}
58 <a href='{{href}}'>{{content}}</a>
59 {{?suffix}}{{suffix}}{{/suffix}}
60 <br>
61 {{/api.learn_more}}
62 </td>
63 </tr>
64 {{/}}
65 </table>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698