{# Main template for the Relationships page. It only extends page-specific blocks of the genetic listing template. @since m2m #} {% extends "@toolset/listing.twig" %} {# we need its macros #} {% import "@toolset/listing.twig" as listing %} {# Needs to add a button #} {% block title %} {{ strings.misc.pageTitle }}{{ getScreen }} {{ __('Add New', 'wpcf' ) }} {{ __( 'Exit wizard', 'wpcf' ) }} {% endblock %} {% block columnHeaders %} {{ listing.columnHeader(strings.column.name, true, 'displayName', 'column-title column-primary') }} {{ listing.columnHeader(strings.column.is_active, true, 'isActiveDisplay') }} {{ listing.columnHeader(strings.column.description, false, 'display.description') }} {% endblock %} {# Only the row actions, which will be embedded in the main column. #} {% block rowActions %} {{ strings.rowAction.edit }} | {{ strings.rowAction.delete }} {% endblock %} {% block afterDisplayName %} ({{ __( 'unsaved', 'wpcf' ) }}) — {{ __( 'Migrated', 'wpcf' ) }} {% endblock %} {# Other table cells besides the main one (with displayName and row actions) #} {% block tdCells %}