Skip to content

Commit afa3377

Browse files
gingidpwatrous
authored andcommitted
Fixes AB#1130: Deprecation link accessibility
1 parent fe54e36 commit afa3377

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

desktop/i18n/resources.resjson

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,8 @@
309309
"pool-details.deprecationWarning.imagePassedEndOfLife": "This pool's image is past its end-of-life date of {imageEndOfLifeDate}. Please recreate this pool using a different image afterwards.",
310310
"pool-details.estimatedCost": "Estimated cost of this pool at this current state",
311311
"pool-details.graphs": "Graphs",
312+
"pool-details.learnMore": "Learn more",
313+
"pool-details.learnMoreTitle": "Documentation on image end-of-life",
312314
"pool-details.openInNewWindow": "Open in a new window",
313315
"pool-graphs.application-insights": "Application Insights",
314316
"pool-graphs.available-nodes": "Available nodes",

desktop/src/app/components/pool/details/pool-details.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,12 @@
4141
<b *i18nParam="'imageEndOfLifeDate'">{{selectedImageEndOfLifeDate}}</b>
4242
</bl-i18n>
4343
</span>
44-
<a class="pool-details-summary-warning-alternative-link" *ngIf="hasDeprecationLink" (click)="openDeprecationLink()" href="javascript:void(0)">Learn more </a>
44+
<a class="pool-details-summary-warning-alternative-link"
45+
[title]="'pool-details.learnMoreTitle' | i18n"
46+
*ngIf="hasDeprecationLink" (click)="openDeprecationLink()"
47+
href="javascript:void(0)">
48+
{{ 'pool-details.learnMore' | i18n }}
49+
</a>
4550
</div>
4651
</bl-banner>
4752
</ng-container>

desktop/src/app/components/pool/details/pool-details.i18n.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ pool-details:
22
graphs: Graphs
33
openInNewWindow: Open in a new window
44
estimatedCost: Estimated cost of this pool at this current state
5+
learnMore: Learn more
6+
learnMoreTitle: Documentation on image end-of-life
57
deprecationWarning:
68
imageNearingEndOfLife: This pool's image is nearing its end-of-life date of {imageEndOfLifeDate}. After this date, it will not appear as an option when creating new pools. API calls to create or scale pools using the image may continue to function for up to 60 days afterwards.
79
imageFarAwayFromEndOfLife: This pool's image has an end-of-life date of {imageEndOfLifeDate}. After this date, it will not appear as an option when creating new pools. API calls to create or scale pools using the image may continue to function for up to 60 days afterwards.

0 commit comments

Comments
 (0)