Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update callout in the API/Resources page #3116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions templates/api.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
{% extends "default.html" %}

{% block "contents" %}
<h1 id="balenacloud-api-resources">balenaCloud API Resources</h1>
<h1 id="balenacloud-api-resources">balenaCloud API Resources - {{$resource.name}}</h1>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<h1 id="balenacloud-api-resources">balenaCloud API Resources - {{$resource.name}}</h1>
<h1 id="balenacloud-api-resources">balenaCloud API Resource: {{$resource.name}}</h1>


<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>
{% 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"
%}
<p>
<strong>Note:</strong> we renamed <strong>applications</strong> to <strong>fleets</strong>
and are in the process of updating our API resources. References to 'application' in fields
should be understood as synonymous with fleets.
Comment on lines +15 to +17
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<strong>Note:</strong> we renamed <strong>applications</strong> to <strong>fleets</strong>
and are in the process of updating our API resources. References to 'application' in fields
should be understood as synonymous with fleets.
<strong>Applications</strong> have been renamed to <strong>fleets</strong>
and are in the process of updating our API resources. References to
<code>application</code> and relevant resources continue to function correctly and are compatible with fleets. <a href="https://www.balena.io/blog/the-road-to-multi-app-transitioning-balenacloud-applications-to-fleets/">Read more about the changes.</a>.

</p>
{% endif %}

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