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
@@ -33,7 +33,7 @@
<p class="mw400">
{{ 'labels.text.To create code,create' | translate }}<br />
{{ 'labels.text.For more details click' | translate }}:
<a href="https://mifosforge.jira.com/wiki/spaces/docs/pages/67895350/Manage+Codes" target="_blank">{{
<a [href]="'manageCodes' | documentationLink" target="_blank" rel="noopener noreferrer">{{
'labels.inputs.Manage Codes' | translate
}}</a>
</p>
@@ -96,7 +96,7 @@
<ng-template #templateConfigurationsTable let-data let-popover="popover">
<h4 class="mw300">
{{ 'labels.heading.Global Configuration options' | translate }}:
<a href="https://mifosforge.jira.com/wiki/spaces/docs/pages/67895362/Global+Configuration" target="_blank">{{
<a [href]="'globalConfiguration' | documentationLink" target="_blank" rel="noopener noreferrer">{{
'labels.inputs.Global Configurations' | translate
}}</a>
</h4>
@@ -88,11 +88,9 @@
<ng-template #templateMcTable let-popover="popover">
<h4 class="mw300">
{{ 'labels.heading.List of all maker checker tasks' | translate }}:
<a
href="https://mifosforge.jira.com/wiki/spaces/docs/pages/67895359/Configure+Maker-Checker+Tasks"
target="_blank"
>{{ 'labels.inputs.Configure Maker-Checker Tasks' | translate }}</a
>
<a [href]="'configureMakerCheckerTasks' | documentationLink" target="_blank" rel="noopener noreferrer">{{
'labels.inputs.Configure Maker-Checker Tasks' | translate
}}</a>
</h4>
<div class="layout-row align-end gap-2px responsive-column">
<button mat-raised-button color="warn" (click)="popover.close(); configurationWizardService.closeConfigWizard()">
@@ -219,7 +219,7 @@
<h2>{{ 'labels.buttons.Create Datatable' | translate }}</h2>
<p class="mw400">
{{ 'labels.text.Filling Details' | translate }}
<a href="https://mifosforge.jira.com/wiki/spaces/docs/pages/52592760/Manage+Data+Tables" target="_blank">{{
<a [href]="'manageDataTables' | documentationLink" target="_blank" rel="noopener noreferrer">{{
'labels.inputs.Manage Datatables' | translate
}}</a>
</p>
@@ -218,7 +218,7 @@
<ng-template #templateJobsTable let-data let-popover="popover">
<h4>
{{ 'labels.heading.List of all scheduled batch jobs' | translate }}
<a href="https://mifosforge.jira.com/wiki/spaces/docs/pages/67895356/Manage+Scheduler+Jobs" target="_blank">{{
<a [href]="'manageSchedulerJobs' | documentationLink" target="_blank" rel="noopener noreferrer">{{
'labels.heading.Schedular Jobs' | translate
}}</a>
</h4>
@@ -39,7 +39,7 @@
</div>
<div class="flex-50">
<a href="http://www.cronmaker.com/">
<a [href]="'cronmaker' | documentationLink" target="_blank" rel="noopener noreferrer">
{{ 'labels.text.Click Here To Generate Cron Expression' | translate }}
</a>
</div>
@@ -139,7 +139,7 @@
<ng-template #templateReportsTable let-popover="popover">
<h4 class="mw300">
{{ 'labels.heading.List of all currently available reports' | translate }}:
<a href="https://mifosforge.jira.com/wiki/spaces/docs/pages/67895354/Manage+Reports" target="_blank">{{
<a [href]="'manageReports' | documentationLink" target="_blank" rel="noopener noreferrer">{{
'labels.heading.Manage Reports' | translate
}}</a>
</h4>
@@ -108,11 +108,9 @@
<ng-template #templateTableRolesandPermissions let-popover="popover">
<h4 class="mw300">
{{ 'labels.heading.List of roles defined within the organization' | translate }}:
<a
href="https://mifosforge.jira.com/wiki/spaces/docs/pages/67895364/Manage+Roles+and+Permissions"
target="_blank"
>{{ 'labels.inputs.Manage Roles and Permission' | translate }}</a
>
<a [href]="'rolesAndPermissions' | documentationLink" target="_blank" rel="noopener noreferrer">{{
'labels.inputs.Manage Roles and Permission' | translate
}}</a>
</h4>
<div class="layout-row align-end gap-2px responsive-column">
<button mat-raised-button color="warn" (click)="popover.close(); configurationWizardService.closeConfigWizard()">