donordashboard.php
5 years ago
donordashboardloader.php
5 years ago
successnotice.php
5 years ago
upgradenotice.php
5 years ago
upgradenotice.php
41 lines
| 1 | <?php |
| 2 | |
| 3 | $setupUrl = add_query_arg( |
| 4 | [ |
| 5 | 'give-generate-donor-dashboard-page' => '1', |
| 6 | ], |
| 7 | admin_url( 'edit.php' ) |
| 8 | ); |
| 9 | |
| 10 | ?> |
| 11 | |
| 12 | <div class="notice give-donor-dashboard-upgrade-notice is-dismissible hidden" data-give-dismissible="upgrade-donor-dashboards-notice-210" > |
| 13 | <div class="give-donor-dashboard-upgrade-notice__graphic"> |
| 14 | <img src="<?php echo GIVE_PLUGIN_URL . '/assets/dist/images/admin/donor-dashboard.svg'; ?>"/> |
| 15 | </div> |
| 16 | <div class="give-donor-dashboard-upgrade-notice__copy"> |
| 17 | <div class="give-donor-dashboard-upgrade-notice__row"> |
| 18 | <div class="give-donor-dashboard-upgrade-notice__title"> |
| 19 | <?php _e( 'Introducing the Donor Dashboard', 'give' ); ?> |
| 20 | </div> |
| 21 | <div class="give-donor-dashboard-upgrade-notice__badge"> |
| 22 | <i class="fas fa-bell"></i> <?php _e( 'New in GiveWP 2.10.0', 'give' ); ?> |
| 23 | </div> |
| 24 | </div> |
| 25 | <div class="give-donor-dashboard-upgrade-notice__body"> |
| 26 | <?php _e( 'The Donor Dashboard provides your donors with a one-stop location to manage all their giving history, profile, and more! Ready to get started? In order to use the new Donor Dashboard, GiveWP needs to create a new page on your site.', 'give' ); ?> |
| 27 | </div> |
| 28 | <div class="give-donor-dashboard-upgrade-notice__row"> |
| 29 | <a class="give-donor-dashboard-upgrade-notice__button" href="<?php echo $setupUrl; ?>"> |
| 30 | <?php _e( 'Create Donor Dashboard Page', 'give' ); ?> |
| 31 | </a> |
| 32 | <div class="give-donor-dashboard-upgrade-notice__pill"> |
| 33 | <?php printf( __( 'Want to know more? Learn more about the <a href="%s" target="_blank">new Donor Dashboard <i class="fas fa-external-link-alt"></i></a>', 'give' ), 'http://docs.givewp.com/donor-dashboard' ); ?> |
| 34 | </div> |
| 35 | </div> |
| 36 | <a class="give-donor-dashboard-upgrade-notice__dismiss-link"> |
| 37 | <?php _e( 'I\'ll setup Donor Dashboards later', 'give' ); ?> |
| 38 | </a> |
| 39 | </div> |
| 40 | </div> |
| 41 |