From 40f7ca5ff4760516d99d547faa8fd86cd0dc2e81 Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy Date: Thu, 30 Mar 2023 13:30:51 -0400 Subject: [PATCH] Update success.tpl CSS (pre/post upgrade messages) --- templates/CRM/common/success.tpl | 89 +++++++++++++++++++++----------- 1 file changed, 60 insertions(+), 29 deletions(-) diff --git a/templates/CRM/common/success.tpl b/templates/CRM/common/success.tpl index 2fdc0b5eb2e6..572de59b7821 100644 --- a/templates/CRM/common/success.tpl +++ b/templates/CRM/common/success.tpl @@ -12,42 +12,73 @@

{$pageTitle}

{/if} {if !$upgraded} -
-
-

- - {ts 1=$currentVersion 2=$newVersion}The database will be upgraded from %1 to %2.{/ts} -

+
+
+ {if $preUpgradeMessage} -
- - {ts}Warning:{/ts} - {$preUpgradeMessage} -
+
+
+
{ts}Warning{/ts}
+
+ {$preUpgradeMessage} {/if}

{ts}Back up your database before continuing.{/ts} {ts}This process may change your database structure and values. In case of emergency you may need to revert to a backup.{/ts} {docURL page="sysadmin/upgrade"}

+

{ts 1=$currentVersion 2=$newVersion}The database will be upgraded from %1 to %2.{/ts}

-    - - - {ts}Cancel{/ts} - - +
+ +
+ +
- {else} -
-
-

- - {ts 1="https://civicrm.org/core-team" 2="https://civicrm.org/contributors" 3="https://civicrm.org/members" 4="https://civicrm.org/partners" 5="https://civicrm.org/become-a-member?src=ug&sid=$sid" 6=$newVersion 7="https://civicrm.org/become-a-partner" 8="https://civicrm.org"}Thank you for upgrading to %6. This release was made possible by the CiviCRM Core Team and an incredible group of CiviCRM Contributors. The CiviCRM project could not exist without the continued financial support of CiviCRM Members and CiviCRM Partners. We invite you to support CiviCRM by becoming a CiviCRM Member or CiviCRM Partner today. Providing financial support ensures that the CiviCRM project can continue to provide the essential resources and services to support the CiviCRM community.{/ts} -

+
+
+
+
+ +
+
+

{ts 1="https://civicrm.org/core-team" 2="https://civicrm.org/contributors" 3="https://civicrm.org/members" 4="https://civicrm.org/partners" 5="https://civicrm.org/become-a-member?src=ug&sid=$sid" 6=$newVersion 7="https://civicrm.org/become-a-partner" 8="https://civicrm.org"}Thank you for upgrading to %6. This release was made possible by the CiviCRM Core Team and an incredible group of CiviCRM Contributors. The CiviCRM project could not exist without the continued financial support of CiviCRM Members and CiviCRM Partners. We invite you to support CiviCRM by becoming a CiviCRM Member or CiviCRM Partner today. Providing financial support ensures that the CiviCRM project can continue to provide the essential resources and services to support the CiviCRM community.{/ts}

+
+
+
+
+
{$message}
+
+
-

{$message}

-

{ts}Return to CiviCRM home page.{/ts}

{/if} +{literal} + +{/literal}