2018-01-25 18:43:07 +00:00
< ? php
/**
* Admin -> WooCommerce -> Extensions -> WooCommerce . com Subscriptions main page .
*
* @ package WooCommerce\Views
*/
defined ( 'ABSPATH' ) || exit ();
?>
2017-04-21 12:05:44 +00:00
2017-05-30 16:46:26 +00:00
< div class = " wrap woocommerce wc_addons_wrap wc-helper " >
2018-01-25 18:43:07 +00:00
< ? php require WC_Helper :: get_view_filename ( 'html-section-nav.php' ); ?>
< h1 class = " screen-reader-text " >< ? php esc_html_e ( 'WooCommerce Extensions' , 'woocommerce' ); ?> </h1>
< ? php require WC_Helper :: get_view_filename ( 'html-section-notices.php' ); ?>
2017-04-21 12:05:44 +00:00
< div class = " start-container " >
< div class = " text " >
2018-01-25 18:43:27 +00:00
< img src = " <?php echo esc_url( WC()->plugin_url() . '/assets/images/woocommerce_logo.png' ); ?> " alt = " WooCommerce " style = " width:180px; " >
2017-04-21 12:05:44 +00:00
2017-04-26 15:39:26 +00:00
< ? php if ( ! empty ( $_GET [ 'wc-helper-status' ] ) && 'helper-disconnected' === $_GET [ 'wc-helper-status' ] ) : ?>
2018-01-25 18:43:07 +00:00
< p >< ? php esc_html_e ( '<strong>Sorry to see you go</strong>. Feel free to reconnect again using the button below.' , 'woocommerce' ); ?> </p>
2017-04-21 12:05:44 +00:00
< ? php endif ; ?>
2018-01-25 18:43:07 +00:00
< h2 >< ? php esc_html_e ( 'Manage your subscriptions, get important product notifications, and updates, all from the convenience of your WooCommerce dashboard' , 'woocommerce' ); ?> </h2>
< p >< ? php esc_html_e ( 'Once connected, your WooCommerce.com purchases will be listed here.' , 'woocommerce' ); ?> </p>
< p >< a class = " button button-primary " href = " <?php echo esc_url( $connect_url ); ?> " >< ? php esc_html_e ( 'Connect' , 'woocommerce' ); ?> </a></p>
2017-04-21 12:05:44 +00:00
</ div >
</ div >
</ div >