Skip to content

Commit

Permalink
💄 Add description to Applications (#3892)
Browse files Browse the repository at this point in the history
  • Loading branch information
lvillen authored Sep 27, 2024
1 parent 81b0121 commit ba399b8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/views/api/applications/index.html.slim
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
- service_name = @service.name
- content_for :page_header_title, "Applications on #{service_name}"
- content_for :page_header_body do
= t('.description')

- if current_user.accessible_services.empty?
= render 'shared/service_access'
Expand Down
3 changes: 1 addition & 2 deletions app/views/provider/admin/applications/index.html.slim
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
- content_for :page_header_title, 'Applications'
- content_for :page_header_body do
' Applications are a representation of an API consumer. They include credentials obtained through the API's authentication method,
' along with usage metrics and other metadata. The application plan sets the limits for each application.
= t('api.applications.index.description')

- if current_user.accessible_services.empty?
= render 'shared/service_access'
Expand Down
3 changes: 3 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,9 @@ en:
delete_alert_confirmation: Do you really want to delete this alert?
applications:
index:
description: |
Applications represent pieces of software consuming the API. They contain a set of credentials used to access the API,
along with usage metrics and other metadata. The application plan sets the limits for each application.
empty_state:
title: No applications yet
body: There are no applications subscribed to %{name}.
Expand Down

0 comments on commit ba399b8

Please sign in to comment.