From ea75418ee3eac7077cc9276bcd488535c6cd8677 Mon Sep 17 00:00:00 2001 From: "flowzone-app[bot]" <124931076+flowzone-app[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 12:09:21 +0000 Subject: [PATCH] Update callout in the API/Resources page * Change wording * Display only on relevant resources Change-type: patch --- templates/api.html | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/templates/api.html b/templates/api.html index fbe4fd838e..dbf7af3e1d 100644 --- a/templates/api.html +++ b/templates/api.html @@ -1,9 +1,22 @@ {% extends "default.html" %} {% block "contents" %} -
Note: We recently renamed applications to fleets and are in the process of updating our API resources. Application resources continue to function correctly and can be used to work with fleets. Find out more about the changes here.
+ {% if $resource.id === "fleet" + or $resource.id === "fleet_membership_role" + or $resource.id === "fleet_tag" + or $resource.id === "fleet_config_variable" + or $resource.id === "fleet_environment_variable" + or $resource.id === "service" + or $resource.id === "team_fleet_access" + %} ++ Note: we renamed applications to fleets + and are in the process of updating our API resources. References to 'application' in fields + should be understood as synonymous with fleets. +
+ {% endif %}