woocommerce/tools/release-posts/templates/templates.ejs

31 lines
701 B
Plaintext
Raw Normal View History

<!-- wp:heading -->
<h2 id="template-changes">Template Changes</h2>
<!-- /wp:heading -->
<% if (changes.templates.size) { %>
<!-- wp:table -->
<figure class="wp-block-table">
<table>
<thead>
<th>
<strong>Template</strong>
</th>
</thead>
<tbody>
<!-- for each template change (template / description) -->
<% changes.templates.forEach((change) => { %>
<tr>
<td><%= change.filePath %></td>
</tr>
<% }) %>
</tbody>
</table>
</figure>
<!-- /wp:table -->
<% } else { %>
<!-- wp:paragraph -->
<p>There are no template changes in this release.</p>
<!-- /wp:paragraph -->
<% } %>