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
Remove unnecessary differntiation between HTML and text-only input
Henriette Darge3efd59943049
diff --git a/app/views/admin/settings/projects_settings/show.html.erb b/app/views/admin/settings/projects_settings/show.html.erbindex 218d3ae010c..6936f2aa733 100644--- a/app/views/admin/settings/projects_settings/show.html.erb+++ b/app/views/admin/settings/projects_settings/show.html.erb@@ -50,7 +50,6 @@ See COPYRIGHT and LICENSE files for more details.<%=angular_component_tag 'op-enterprise-banner',inputs: {- messageIsHtml: 'true',moreInfoText: t('text_custom_field_upsale_more_info'),textMessage: t('text_project_custom_field_html'),moreInfoLink: 'https://www.openproject.org/docs/system-admin-guide/custom-fields/custom-fields-projects/',diff --git a/app/views/custom_fields/_tab.html.erb b/app/views/custom_fields/_tab.html.erbindex c88b2a3794e..9387198f355 100644--- a/app/views/custom_fields/_tab.html.erb+++ b/app/views/custom_fields/_tab.html.erb@@ -173,7 +173,6 @@ See COPYRIGHT and LICENSE files for more details.<%=angular_component_tag 'op-enterprise-banner',inputs: {- messageIsHtml: 'true',moreInfoText: t('text_custom_field_upsale_more_info'),textMessage: t('text_project_custom_field_html'),moreInfoLink: 'https://www.openproject.org/docs/system-admin-guide/custom-fields/custom-fields-projects/',@@ -187,7 +186,6 @@ See COPYRIGHT and LICENSE files for more details.<%=angular_component_tag 'op-enterprise-banner',inputs: {- messageIsHtml: 'true',moreInfoText: t('text_custom_field_upsale_more_info'),textMessage: t('text_wp_custom_field_html'),moreInfoLink: 'https://www.openproject.org/docs/system-admin-guide/custom-fields/#create-a-multi-select-custom-field-premium-feature',diff --git a/app/views/types/form/_form_configuration.html.erb b/app/views/types/form/_form_configuration.html.erbindex 4888edc8759..d66fdad3649 100644--- a/app/views/types/form/_form_configuration.html.erb+++ b/app/views/types/form/_form_configuration.html.erb@@ -44,7 +44,6 @@ 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.more_info'),textMessage: t('types.edit.more_info_text_html'),moreInfoLink: 'https://www.openproject.org/docs/system-admin-guide/manage-work-packages/work-package-types/#work-package-form-configuration-premium-feature',diff --git a/frontend/src/app/shared/components/enterprise-banner/enterprise-banner-bootstrap.component.ts b/frontend/src/app/shared/components/enterprise-banner/enterprise-banner-bootstrap.component.tsindex 91442a95d6c..a150f446e40 100644--- a/frontend/src/app/shared/components/enterprise-banner/enterprise-banner-bootstrap.component.ts+++ b/frontend/src/app/shared/components/enterprise-banner/enterprise-banner-bootstrap.component.ts@@ -29,8 +29,6 @@ export class EnterpriseBannerBootstrapComponent implements OnInit {public moreInfoLink:string;- public messageIsHtml:string;-public referrer:string;constructor(protected elementRef:ElementRef,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 eac86e8214c..c91a0b18ef7 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,8 +13,7 @@</div><br>- <span *ngIf="!messageIsHtml" class="op-enterprise-banner--description" [textContent]="textMessage"></span>- <span *ngIf="messageIsHtml" class="op-enterprise-banner--description" [innerHtml]="textMessage"></span>+ <span class="op-enterprise-banner--description 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.ts b/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.tsindex 253dbd245ec..86fbc3ee07e 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@@ -35,8 +35,6 @@ export class EnterpriseBannerComponent implements OnInit {@Input() public moreInfoLink:string;- @Input() public messageIsHtml = false;-public link:string;pricingUrl = pricingUrl;