Skip to content

Commit 82d6d77

Browse files
flowzone-app[bot]vipulgupta2048
authored andcommitted
Update callout in the API/Resources page
* Change wording * Display only on relevant resources Change-type: patch
1 parent a34017e commit 82d6d77

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

templates/api.html

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
11
{% extends "default.html" %}
22

33
{% block "contents" %}
4-
<h1 id="balenacloud-api-resources">balenaCloud API Resources</h1>
4+
<h1 id="balenacloud-api-resources">balenaCloud API Resources - {{$resource.name}}</h1>
55

6-
<p><strong>Note:</strong> We recently renamed <strong>applications</strong> to <strong>fleets</strong> and are in the process of updating our API resources. Application resources continue to function correctly and can be used to work with fleets. <a href="https://www.balena.io/blog/the-road-to-multi-app-transitioning-balenacloud-applications-to-fleets/">Find out more about the changes here</a>.</p>
6+
{% if $resource.id === "fleet"
7+
or $resource.id === "fleet_membership_role"
8+
or $resource.id === "fleet_tag"
9+
or $resource.id === "fleet_config_variable"
10+
or $resource.id === "fleet_environment_variable"
11+
or $resource.id === "service"
12+
or $resource.id === "team_fleet_access"
13+
%}
14+
<p>
15+
<strong>Note:</strong> we renamed <strong>applications</strong> to <strong>fleets</strong>
16+
and are in the process of updating our API resources. References to 'application' in fields
17+
should be understood as synonymous with fleets.
18+
</p>
19+
{% endif %}
720

821
<div style="display: flex;">
922
<div style="float: left; width: 40%; padding-right: 10px;">

0 commit comments

Comments
 (0)