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

fix: lic details page showing error 'The License API is not enabled for this application.' #1892 #1893

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions admin-ui/app/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@
"licenseKey": "License Key",
"isLicenseActive": "Is License Active",
"validityPeriod": "License Valid Upto",
"isLicenseExpired": "Is License Expired",
"companyName": "Company Name",
"customerEmail": "Customer Email",
"customerName": "Customer Name",
Expand Down Expand Up @@ -1471,6 +1472,7 @@
"customerName": "The customer name of the registered license.",
"companyName": "The company name of the registered license.",
"validityPeriod": "The license will expire on following date.",
"isLicenseExpired": "Is license expired?",
"maxActivations": "The maximum allowed activations of this license on different machines.",
"isLicenseActive": "Is license active?"
},
Expand Down
1 change: 1 addition & 0 deletions admin-ui/app/locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,7 @@
"licenseKey": "Clé de licence",
"isLicenseActive": "La licence est-elle active",
"validityPeriod": "Licence valide jusqu'à",
"isLicenseExpired": "La licence est-elle expirée",
"companyName": "Nom de la compagnie",
"customerEmail": "Email client",
"customerName": "Nom du client",
Expand Down
1 change: 1 addition & 0 deletions admin-ui/app/locales/pt/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,7 @@
"maxActivations": "Ativações máximas",
"licenseKey": "Chave de Licença",
"isLicenseActive": "Licença Ativa",
"isLicenseExpired": "A licença expirou",
"validityPeriod": "Licença válida até",
"companyName": "Nome da empresa",
"customerEmail": "Email do cliente",
Expand Down
11 changes: 11 additions & 0 deletions admin-ui/app/routes/License/LicenseDetailsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,17 @@ function LicenseDetailsPage() {
doc_category={LICENSE}
/>
</Col>
<Col sm={6}>
<GluuFormDetailRow
label="fields.isLicenseExpired"
value={item.licenseExpired ? 'Yes' : 'No'}
isBadge={true}
lsize={3}
rsize={9}
doc_entry="isLicenseExpired"
doc_category={LICENSE}
/>
</Col>
</Row>
</Container>
) : (
Expand Down
Loading