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
@@ -70,7 +70,7 @@
<h4>{{ 'labels.heading.Add Currency Form' | translate }}</h4>
<p class="mw400">
{{ 'labels.text.Used to add currency' | translate }}:
<a href="https://mifosforge.jira.com/wiki/spaces/docs/pages/67141734/Currency+Configuration" target="_blank">{{
<a [href]="'currencyConfiguration' | documentationLink" target="_blank" rel="noopener noreferrer">{{
'labels.inputs.Currency Configuration' | translate
}}</a>
</p>
@@ -116,7 +116,7 @@
<p class="mw400">
{{ 'labels.text.Start filling the details' | translate }} <br />
{{ 'labels.text.For more details click' | translate }}:
<a href="https://mifosforge.jira.com/wiki/spaces/docs/pages/67141732/Manage+Employees" target="_blank">{{
<a [href]="'manageEmployees' | documentationLink" target="_blank" rel="noopener noreferrer">{{
'labels.inputs.Manage Employees' | translate
}}</a>
</p>
@@ -41,7 +41,7 @@
<h2>{{ 'labels.heading.Manage Funds' | translate }}</h2>
<p class="mw300">
{{ 'labels.text.Used Add Fund' | translate }}:
<a href="https://mifosforge.jira.com/wiki/spaces/docs/pages/67141736/Manage+Funds" target="_blank">{{
<a [href]="'manageFunds' | documentationLink" target="_blank" rel="noopener noreferrer">{{
'labels.inputs.Manage Funds' | translate
}}</a>
</p>
@@ -74,7 +74,7 @@
<h2>{{ 'labels.heading.Create Office' | translate }}</h2>
<p class="mw400">
{{ 'labels.text.Filling Details' | translate }}
<a href="https://mifosforge.jira.com/wiki/spaces/docs/pages/67141727/Manage+Offices" target="_blank">{{
<a [href]="'manageOffices' | documentationLink" target="_blank" rel="noopener noreferrer">{{
'labels.inputs.Manage Offices' | translate
}}</a>
</p>
@@ -52,7 +52,7 @@
<h2>{{ 'labels.heading.Working Days' | translate }}</h2>
<p class="mw400">
{{ 'labels.text.Click (Define Working Days)' | translate }}:
<a href="https://mifosforge.jira.com/wiki/spaces/docs/pages/90243212/Working+Days" target="_blank">{{
<a [href]="'workingDays' | documentationLink" target="_blank" rel="noopener noreferrer">{{
'labels.inputs.Working Days' | translate
}}</a>
</p>