From 2e17bda18ee8f8b5fe129e422ac1be6a13b4b458 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 21 Feb 2022 17:25:46 -0500 Subject: [PATCH] Add deprecation notice to APIv3 Explorer --- templates/CRM/Admin/Page/APIExplorer.tpl | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/templates/CRM/Admin/Page/APIExplorer.tpl b/templates/CRM/Admin/Page/APIExplorer.tpl index 3f96d7e481..6e97653060 100644 --- a/templates/CRM/Admin/Page/APIExplorer.tpl +++ b/templates/CRM/Admin/Page/APIExplorer.tpl @@ -218,7 +218,16 @@ } {/literal} - +
+

+ {icon icon="fa-info-circle"}{/icon} + {ts}Deprecation Notice{/ts} +

+

+ {ts}APIv3 is the legacy version of CiviCRM's API. While still supported, it is not recommended for use in new projects.{/ts} + {icon icon="fa-hand-o-right"}{/icon} {ts}Switch to APIv4{/ts} +

+
    -- 2.25.1