donordashboard.php
3 years ago
donordashboardloader.php
4 years ago
successnotice.php
4 years ago
upgradenotice.php
1 year ago
upgradenotice.php
59 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" |
| 13 | data-give-dismissible="upgrade-donor-dashboards-notice-210"> |
| 14 | <div class="give-donor-dashboard-upgrade-notice__graphic"> |
| 15 | <img src="<?php |
| 16 | echo GIVE_PLUGIN_URL . 'build/assets/dist/images/admin/donor-dashboard.svg'; ?>" /> |
| 17 | </div> |
| 18 | <div class="give-donor-dashboard-upgrade-notice__copy"> |
| 19 | <div class="give-donor-dashboard-upgrade-notice__row"> |
| 20 | <div class="give-donor-dashboard-upgrade-notice__title"> |
| 21 | <?php |
| 22 | _e('Introducing the Donor Dashboard', 'give'); ?> |
| 23 | </div> |
| 24 | <div class="give-donor-dashboard-upgrade-notice__badge"> |
| 25 | <i class="fas fa-bell"></i> <?php |
| 26 | _e('New in GiveWP 2.10.0', 'give'); ?> |
| 27 | </div> |
| 28 | </div> |
| 29 | <div class="give-donor-dashboard-upgrade-notice__body"> |
| 30 | <?php |
| 31 | _e( |
| 32 | '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.', |
| 33 | 'give' |
| 34 | ); ?> |
| 35 | </div> |
| 36 | <div class="give-donor-dashboard-upgrade-notice__row"> |
| 37 | <a class="give-donor-dashboard-upgrade-notice__button" href="<?php |
| 38 | echo $setupUrl; ?>"> |
| 39 | <?php |
| 40 | _e('Create Donor Dashboard Page', 'give'); ?> |
| 41 | </a> |
| 42 | <div class="give-donor-dashboard-upgrade-notice__pill"> |
| 43 | <?php |
| 44 | printf( |
| 45 | __( |
| 46 | '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>', |
| 47 | 'give' |
| 48 | ), |
| 49 | 'http://docs.givewp.com/donor-dashboard' |
| 50 | ); ?> |
| 51 | </div> |
| 52 | </div> |
| 53 | <a class="give-donor-dashboard-upgrade-notice__dismiss-link"> |
| 54 | <?php |
| 55 | _e('I\'ll setup Donor Dashboards later', 'give'); ?> |
| 56 | </a> |
| 57 | </div> |
| 58 | </div> |
| 59 |