WEB-308: fix hardcoded documentation links (#2944)

fix: Add security attributes to all external documentation links

Fix:added the missing mapping in env.template.js

Removed DocumentationLinkPipe from PipesModule
This commit is contained in:
Shubham Kumar
2025-12-30 20:25:51 -06:00
committed by GitHub
parent 98a5af6f60
commit 2649efc80c
38 changed files with 214 additions and 72 deletions
@@ -152,7 +152,7 @@
<ng-template #templateChargesTable let-popover="popover">
<h4 class="mw300">
{{ 'labels.heading.List of charges in the organization. For more details click' | translate }}:
<a href="https://mifosforge.jira.com/wiki/spaces/docs/pages/72908813/Charges" target="_blank">{{
<a [href]="'charges' | documentationLink" target="_blank" rel="noopener noreferrer">{{
'labels.heading.Charges' | translate
}}</a>
</h4>
@@ -86,7 +86,7 @@
<ng-template #templateFixedProductsTable let-popover="popover">
<h4 class="mw300">
{{ 'labels.text.List of fixed deposit products in the organization' | translate }}:
<a href="https://mifosforge.jira.com/wiki/spaces/docs/pages/102629544/Fixed+Deposit+Products" target="_blank">{{
<a [href]="'fixedDepositProducts' | documentationLink" target="_blank" rel="noopener noreferrer">{{
'labels.inputs.Fixed Deposit Products' | translate
}}</a>
</h4>
@@ -104,7 +104,7 @@
<ng-template #templateLoanProductsTable let-popover="popover">
<h4 class="mw300">
{{ 'labels.heading.List of loan products in the organization' | translate }}:
<a href="https://mifosforge.jira.com/wiki/spaces/docs/pages/102039585/Loan+Products" target="_blank">{{
<a [href]="'loanProducts' | documentationLink" target="_blank" rel="noopener noreferrer">{{
'labels.heading.Loan Products' | translate
}}</a>
</h4>
@@ -95,7 +95,7 @@
<ng-template #templateRecurringProductsTable let-popover="popover">
<h4 class="mw300">
{{ 'labels.heading.List of recurring deposit products in the organization' | translate }}:
<a href="https://mifosforge.jira.com/wiki/spaces/docs/pages/102629552/Recurring+Deposit" target="_blank">{{
<a [href]="'recurringDepositProducts' | documentationLink" target="_blank" rel="noopener noreferrer">{{
'labels.heading.Recurring Deposit Products' | translate
}}</a>
</h4>
@@ -81,7 +81,7 @@
<ng-template #templateSavingProductTable let-popover="popover">
<h4 class="mw300">
{{ 'labels.heading.List of saving products in the organization' | translate }}:
<a href="https://mifosforge.jira.com/wiki/spaces/docs/pages/102629497/Savings+Products" target="_blank">{{
<a [href]="'savingsProducts' | documentationLink" target="_blank" rel="noopener noreferrer">{{
'labels.heading.Savings Products' | translate
}}</a>
</h4>
@@ -86,7 +86,7 @@
<ng-template #templateShareProductsTable let-popover="popover">
<h4 class="mw300">
{{ 'labels.heading.List of share products in the organization' | translate }}:
<a href="https://mifosforge.jira.com/wiki/spaces/docs/pages/129531946/Share+products" target="_blank">{{
<a [href]="'shareProducts' | documentationLink" target="_blank" rel="noopener noreferrer">{{
'labels.text.Share Products' | translate
}}</a>
</h4>