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

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

Issue 368973002: Docserver: Add more support for object level availability in templates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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/event.html
diff --git a/chrome/common/extensions/docs/templates/private/event.html b/chrome/common/extensions/docs/templates/private/event.html
index c68b16e333754e6edcd6c7399a342852074daaea..d3170c123c98fb1da47f3402c5e3a30e6ed96842 100644
--- a/chrome/common/extensions/docs/templates/private/event.html
+++ b/chrome/common/extensions/docs/templates/private/event.html
@@ -3,6 +3,9 @@
<h3 id="{{id}}">{{name}}</h3>
{{+partials.warning_deprecated item:event/}}
<div class="description">
+ {{?availability}}
+ <span class="availability">{{+availability.partial content:availability/}}</span>
+ {{/availability}}
{{?description}}<p>
{{{description}}}
</p>{{/description}}

Powered by Google App Engine
This is Rietveld 408576698