OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
show the correct description for wp form configuration
bsatarnejada2ee654bd37d
diff --git a/app/views/types/form/_form_configuration.html.erb b/app/views/types/form/_form_configuration.html.erbindex eefacbcfd63..260c0c8e767 100644--- a/app/views/types/form/_form_configuration.html.erb+++ b/app/views/types/form/_form_configuration.html.erb@@ -45,6 +45,7 @@ See COPYRIGHT and LICENSE files for more details.angular_component_tag 'op-enterprise-banner',inputs: {opReferrer: 'form-configuration',+ messageIsHtml: 'true',moreInfoText: t('admin.enterprise.buttons.contact'),textMessage: t('types.edit.more_info_text_html'),moreInfoLink: 'https://www.openproject.org/enterprise-edition/',diff --git a/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.html b/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.htmlindex b1fa1547ba5..f2cd7f72217 100644--- a/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.html+++ b/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.html@@ -13,7 +13,8 @@</div><br>- <span class="op-enterprise-banner--description" [textContent]="textMessage"></span>+ <span *ngIf="!messageIsHtml" class="op-enterprise-banner--description" [textContent]="textMessage"></span>+ <span *ngIf="messageIsHtml" class="op-enterprise-banner--description" [innerHtml]="textMessage"></span><strong [textContent]="text.become_hero"></strong> diff --git a/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.sass b/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.sassindex 1c0e0d151d9..69523eb8a0f 100644--- a/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.sass+++ b/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.sass@@ -9,7 +9,7 @@&--descriptionmargin-bottom: 10px- display: flex+ display: block&--imagewidth: 115pxdiff --git a/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.ts b/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.tsindex 239a7a3a035..2b3216379ec 100644--- a/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.ts+++ b/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.ts@@ -19,6 +19,7 @@ export const enterpriseBannerSelector = 'op-enterprise-banner';@DatasetInputs@Component({selector: enterpriseBannerSelector,+ changeDetection: ChangeDetectionStrategy.OnPush,styleUrls: ['./enterprise-banner.component.sass'],templateUrl: './enterprise-banner.component.html',})@@ -35,6 +36,8 @@ export class EnterpriseBannerComponent implements OnInit {@Input() public moreInfoLink:string;+ @Input() public messageIsHtml = false;+public link:string;public text = {