mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-22 11:03:43 +03:00
Support the unlikely case of no contributors
This commit is contained in:
parent
17f1c86be8
commit
a67d2a45af
|
@ -33,6 +33,9 @@ use function WordPressDotOrg\FiveForTheFuture\get_views_path;
|
|||
<tbody>{{{ data.pending }}}</tbody>
|
||||
</table>
|
||||
<# } #>
|
||||
<# if ( ! data.publish.length && ! data.pending.length ) { #>
|
||||
<p><?php esc_html_e( 'There are no contributors added to this pledge yet.', 'wporg-5ftf' ); ?></p>
|
||||
<# } #>
|
||||
</script>
|
||||
|
||||
<script type="text/template" id="tmpl-5ftf-contributor">
|
||||
|
|
Loading…
Reference in a new issue