Add aria-hidden to extant icons
[civicrm-core.git] / templates / CRM / common / success.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
4 | |
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
8 +--------------------------------------------------------------------+
9 *}
10 {* Display page for Upgrades. *}
11 {if $config->userSystem->is_drupal neq '1'}
12 <h2>{$pageTitle}</h2>
13 {/if}
14 {if !$upgraded}
15 <div class="crm-container" style="margin-top: 2em; padding: 1em; background-color: #FFFFE3; border: 1px #F8FF00 solid; color: black;">
16 <form method="post">
17 <p>
18 <span class="crm-status-icon info"> </span>
19 {ts 1=$currentVersion 2=$newVersion}The database will be upgraded from %1 to %2.{/ts}
20 </p>
21 {if $preUpgradeMessage}
22 <div style="border: 2px solid #E43D2B; background-color: rgba(228, 61, 43, 0.08); padding: 10px; margin-bottom: 15px;">
23 <span class="crm-status-icon"></span>
24 <strong style="vertical-align: middle; font-size: 1.2em;">{ts}Warning:{/ts}</strong>
25 {$preUpgradeMessage}
26 </div>
27 {/if}
28 <p><strong>{ts}Back up your database before continuing.{/ts}</strong>
29 {capture assign=docLink}{docURL page="Installation and Upgrades" text="Upgrade Documentation" style="text-decoration: underline;" resource="wiki"}{/capture}
30 {ts 1=$docLink}This process may change your database structure and values. In case of emergency you may need to revert to a backup. For more detailed information, refer to the %1.{/ts}</p>
31 <input type="hidden" name="action" value="begin" />
32 <button type="submit" class="crm-button" name="upgrade" onclick="return confirm('{ts escape="js"}Are you sure you are ready to upgrade now?{/ts}');" >
33 <i class="crm-i fa-rocket" aria-hidden="true"></i>
34 {ts}Upgrade Now{/ts}
35 </button>&nbsp;&nbsp;
36 <a class="button cancel crm-form-submit" href="{$cancelURL}">
37 <i class="crm-i fa-times" aria-hidden="true"></i>
38 {ts}Cancel{/ts}
39 </a>
40 </form>
41 </div>
42
43 {else}
44 <div class="crm-container" style="margin-top: 2em; padding: 1em; background-color: #EEFFEE; border: 1px #070 solid; color: black;">
45 <div class="bold" style="padding: 1em; background-color: rgba(255, 255, 255, 0.76);">
46 <p>
47 <img style="display:block; float:left; width:40px; margin-right:10px;" src="{$config->resourceBase}i/logo_lg.png">
48 {ts 1="https://civicrm.org/core-team" 2="https://civicrm.org/providers/contributors" 3="https://civicrm.org/become-a-member?src=ug&sid=$sid" 4=$newVersion}Thank you for upgrading to %4, the latest version of CiviCRM. Packed with new features and improvements, this release was made possible by both the <a href="%1">CiviCRM Core Team</a> and an incredible group of <a href="%2">contributors</a>, combined with the financial support of CiviCRM Members and Partners, without whom the project could not exist. We invite you to join their ranks by <a href="%3">becoming a member of CiviCRM today</a>. There is no better way to say thanks than to support those that have made CiviCRM %4 possible. <a href="%3">Join today</a>.{/ts}
49 </p>
50 </div>
51 <p><span class="crm-status-icon success"> </span>{$message}</p>
52 {if $afterUpgradeMessage}
53 <h3>{ts}Important Notes{/ts}</h3>
54 <p>{$afterUpgradeMessage}</p>
55 {/if}
56 <p><a href="{crmURL p='civicrm/dashboard' q='reset=1'}" title="{ts}CiviCRM home page{/ts}" style="text-decoration: underline;">{ts}Return to CiviCRM home page.{/ts}</a></p>
57 </div>
58 {/if}