File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,18 @@ without the prior written permission of the Society of Motion Picture and Televi
129129<hr />
130130{{draftWarning}}`
131131
132+ const SMPTE_PUB_AG_FRONT_MATTER_BOILERPLATE = `<div id="doc-designator" itemscope="itemscope" itemtype="http://purl.org/dc/elements/1.1/">
133+ <span itemprop="publisher">SMPTE</span> <span id="doc-type">{{pubType}}</span> {{actualPubNumber}}</div>
134+ <img id="smpte-logo" src="{{smpteLogoURL}}" alt="SMPTE logo" />
135+ <div id="long-doc-type">{{longDocType}}</div>
136+ <h1>{{fullTitle}}</h1>
137+ <div id="doc-status">{{publicationState}}: {{actualPubDateTime}}</div>
138+ <p><span id="copyright-text">Copyright © <span id="doc-copyright-year">{{copyrightYear}}</span>,
139+ Society of Motion Picture and Television Engineers</span>.
140+ All rights reserved. No part of this material may be reproduced, by any means whatsoever,
141+ without the prior written permission of the Society of Motion Picture and Television Engineers.</p>
142+ <hr />`
143+
132144const SMPTE_PUB_OM_FRONT_MATTER_BOILERPLATE = `<div id="doc-designator" itemscope="itemscope" itemtype="http://purl.org/dc/elements/1.1/">
133145<span itemprop="publisher">SMPTE</span> <span id="doc-type">{{pubType}}</span> {{actualPubNumber}}</div>
134146<img id="smpte-logo" src="{{smpteLogoURL}}" alt="SMPTE logo" />
@@ -222,6 +234,8 @@ function insertFrontMatter(docMetadata) {
222234
223235 if ( docMetadata . pubState === smpte . PUB_STATE_PUB && docMetadata . pubType === smpte . OM_PUBTYPE )
224236 boilerplate = SMPTE_PUB_OM_FRONT_MATTER_BOILERPLATE ;
237+ else if ( docMetadata . pubState === smpte . PUB_STATE_PUB && docMetadata . pubType === smpte . AG_PUBTYPE )
238+ boilerplate = SMPTE_PUB_AG_FRONT_MATTER_BOILERPLATE ;
225239 else
226240 boilerplate = SMPTE_FRONT_MATTER_BOILERPLATE ;
227241
You can’t perform that action at this time.
0 commit comments