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
@@ -125,11 +125,9 @@
<h2>{{ 'labels.heading.Create GL account' | translate }}</h2>
<p class="mw400">
{{ 'labels.text.Filling Details' | translate }}
<a
href="https://mifosforge.jira.com/wiki/spaces/docs/pages/67141745/Chart+of+Accounts+-+General+Ledger+Setup"
target="_blank"
>{{ 'labels.inputs.Chart of Accounts' | translate }}</a
>
<a [href]="'chartOfAccountsSetup' | documentationLink" target="_blank" rel="noopener noreferrer">{{
'labels.inputs.Chart of Accounts' | translate
}}</a>
</p>
<div class="layout-row align-end gap-2px responsive-column">
<button mat-raised-button color="warn" (click)="popover.close(); configurationWizardService.closeConfigWizard()">
@@ -105,7 +105,7 @@
<ng-template #templateClosuresTable let-popover="popover">
<h4>
{{ 'labels.heading.List of closures. To know more click' | translate }}:
<a href="https://mifosforge.jira.com/wiki/spaces/docs/pages/67895316/Closing+Entries" target="_blank">{{
<a [href]="'closingEntries' | documentationLink" target="_blank" rel="noopener noreferrer">{{
'labels.inputs.Closing Entries' | translate
}}</a>
</h4>
@@ -221,7 +221,7 @@
<h2>{{ 'labels.heading.Add Journal Entry Form' | translate }}</h2>
<p class="mw300">
{{ 'labels.text.Red asterisk field' | translate }}
<a href="https://mifosforge.jira.com/wiki/spaces/docs/pages/67895310/Add+Journal+Entries" target="_blank">{{
<a [href]="'addJournalEntries' | documentationLink" target="_blank" rel="noopener noreferrer">{{
'labels.inputs.Add Journal Entries' | translate
}}</a>
</p>
@@ -71,11 +71,9 @@
<ng-template #templateActivitiesTable let-popover="popover">
<h4 class="mw300">
{{ 'labels.heading.Account Linked Financial' | translate }}
<a
href="https://mifosforge.jira.com/wiki/spaces/docs/pages/106430472/Accounts+linked+to+Financial+Activities"
target="_blank"
>{{ 'labels.heading.Accounts linked to Financial Activities' | translate }}</a
>
<a [href]="'financialActivityMappings' | documentationLink" target="_blank" rel="noopener noreferrer">{{
'labels.heading.Accounts linked to Financial Activities' | translate
}}</a>
</h4>
<div class="layout-row align-end gap-2px responsive-column">
<button mat-raised-button color="warn" (click)="popover.close(); configurationWizardService.closeConfigWizard()">
@@ -153,11 +153,9 @@
<h2>{{ 'labels.heading.Migrate opening balances (Office-wise)' | translate }}</h2>
<p class="mw300">
{{ 'labels.text.Migrate Opening Balances' | translate }}
<a
href="https://mifosforge.jira.com/wiki/spaces/docs/pages/90243328/Migrate+opening+balances+Office-wise"
target="_blank"
>{{ 'labels.inputs.Migrate opening balances (Office-wise)' | translate }}</a
>
<a [href]="'migrateOpeningBalances' | documentationLink" target="_blank" rel="noopener noreferrer">{{
'labels.inputs.Migrate opening balances (Office-wise)' | translate
}}</a>
</p>
<div class="layout-row align-end gap-2px responsive-column">
<button mat-raised-button color="warn" (click)="popover.close(); configurationWizardService.closeConfigWizard()">