Skip to content

Commit

Permalink
Merge pull request #1893 from GluuFederation/admin-ui-issue-1892
Browse files Browse the repository at this point in the history
fix: lic details page showing error 'The License API is not enabled for this application.' #1892
  • Loading branch information
duttarnab authored Nov 20, 2024
2 parents d08e1a4 + 12a5729 commit ef6599e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
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

0 comments on commit ef6599e

Please sign in to comment.