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 the moreInfoText for EnterpriseBanners since it was the same for every instance. Further cleanup the locales files.
Henriette Darge7bc4a2f42acd
diff --git a/app/views/admin/settings/projects_settings/show.html.erb b/app/views/admin/settings/projects_settings/show.html.erbindex 31abb2e900f..376f90d4450 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: {- moreInfoText: t('text_custom_field_upsale_more_info'),textMessage: t('text_project_custom_field_html'),moreInfoLink: OpenProject::Static::Links.links[:enterprise_docs][:custom_field_projects][:href],}diff --git a/app/views/admin/settings/work_packages_settings/_enterprise_feature_hint.html.erb b/app/views/admin/settings/work_packages_settings/_enterprise_feature_hint.html.erbindex 4054a7624ff..846a408143b 100644--- a/app/views/admin/settings/work_packages_settings/_enterprise_feature_hint.html.erb+++ b/app/views/admin/settings/work_packages_settings/_enterprise_feature_hint.html.erb@@ -3,7 +3,6 @@<%=angular_component_tag 'op-enterprise-banner',inputs: {- moreInfoText: t('js.work_packages.table_configuration.upsale.more-info-text'),textMessage: explanation,moreInfoLink: OpenProject::Static::Links.links[:enterprise_docs][:attribute_highlighting][:href],}diff --git a/app/views/custom_fields/_tab.html.erb b/app/views/custom_fields/_tab.html.erbindex d54484e3bf8..0ace899e582 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: {- moreInfoText: t('text_custom_field_upsale_more_info'),textMessage: t('text_project_custom_field_html'),moreInfoLink: OpenProject::Static::Links.links[:enterprise_docs][:custom_field_projects][:href],}@@ -186,7 +185,6 @@ See COPYRIGHT and LICENSE files for more details.<%=angular_component_tag 'op-enterprise-banner',inputs: {- moreInfoText: t('text_custom_field_upsale_more_info'),textMessage: t('text_wp_custom_field_html'),moreInfoLink: OpenProject::Static::Links.links[:enterprise_docs][:custom_field_multiselect][:href],}diff --git a/app/views/projects/filters/_form.html.erb b/app/views/projects/filters/_form.html.erbindex f76e9f8e07d..e0d5d044a48 100644--- a/app/views/projects/filters/_form.html.erb+++ b/app/views/projects/filters/_form.html.erb@@ -87,7 +87,6 @@<%=angular_component_tag 'op-enterprise-banner',inputs: {- moreInfoText: t('text_custom_field_upsale_more_info'),textMessage: t('ee.upsale.project_filters.description_html'),moreInfoLink: OpenProject::Static::Links.links[:enterprise_docs][:custom_field_projects][:href],}diff --git a/app/views/types/form/_form_configuration.html.erb b/app/views/types/form/_form_configuration.html.erbindex 97df03e190c..f3704065d50 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',- moreInfoText: t('admin.enterprise.buttons.more_info'),textMessage: t('types.edit.more_info_text_html'),moreInfoLink: OpenProject::Static::Links.links[:enterprise_docs][:form_configuration][:href],}diff --git a/config/locales/en.yml b/config/locales/en.ymlindex b2a008785e5..62f50904427 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -86,7 +86,6 @@ en:buttons:upgrade: "Upgrade now"contact: "Contact us for a demo"- more_info: "More information"enterprise_info_html: "is an Enterprise <strong class='icon-medal'></strong> feature."upgrade_info: "Please upgrade to a paid plan to activate and start using it in your team."journal_aggregation:@@ -2695,7 +2694,6 @@ en:text_custom_field_hint_activate_per_project_and_type: >Custom fields need to be activated per workpackage type and per project.- text_custom_field_upsale_more_info: "More information"text_wp_custom_field_html: >The Enterprise Edition will add these additional features for work packages' custom fields: <br><ul>diff --git a/config/locales/js-en.yml b/config/locales/js-en.ymlindex 705315e5c1c..973f2504ca0 100644--- a/config/locales/js-en.yml+++ b/config/locales/js-en.yml@@ -261,6 +261,7 @@ en:confidence: >We deliver the confidence of a tested and supported enterprise-class project management software - with Open Source and an open mind.link_quote: "Get a quote"+ more_info: "More information"text: >The OpenProject Enterprise Edition builds on top of the Community Edition.It includes premium features and professional support mainly aimed at organizations with more than 10 users that manage business critical projects with OpenProject.@@ -297,7 +298,6 @@ en:two: "Second sorting criteria"three: "Third sorting criteria"upsale_for_more: "Advanced filters allow you to also filter for file names and content of work package attachments. Please upgrade to a paid plan to use this feature."- more_info: "More information"upsale_link: 'Enterprise Edition.'general_text_no: "no"general_text_yes: "yes"@@ -1075,7 +1075,6 @@ en:attribute_highlighting: 'Need certain work packages to stand out from the mass?'relation_columns: 'Need to see relations in the work package list?'check_out_link: 'Check out the Enterprise Edition.'- more-info-text: 'More information'relation_filters:filter_work_packages_by_relation_type: 'Filter work packages by relation type'tabs:diff --git a/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.html b/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.htmlindex bb3d0a9826b..c05f0a307b4 100644--- a/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.html+++ b/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.html@@ -43,7 +43,6 @@<op-enterprise-banner*ngIf="eeShowBanners"- [moreInfoText]="text.more_info_text"[moreInfoLink]="text.more_info_link"[leftMargin]="true"[linkMessage]="text.upgrade_to_ee_text"diff --git a/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.ts b/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.tsindex de5a917fcc7..bd145fc6d05 100644--- a/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.ts+++ b/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.ts@@ -44,7 +44,6 @@ export class BoardListContainerComponent extends UntilDestroyedMixin implementshiddenListWarning: this.I18n.t('js.boards.text_hidden_list_warning'),teaser_text: this.I18n.t('js.boards.upsale.teaser_text'),upgrade_to_ee_text: this.I18n.t('js.boards.upsale.upgrade'),- more_info_text: this.I18n.t('js.boards.upsale.more_info'),more_info_link: enterpriseDocsUrl.boards,};diff --git a/frontend/src/app/features/boards/new-board-modal/new-board-modal.component.ts b/frontend/src/app/features/boards/new-board-modal/new-board-modal.component.tsindex ebb2bb1d62f..a88e7fa2844 100644--- a/frontend/src/app/features/boards/new-board-modal/new-board-modal.component.ts+++ b/frontend/src/app/features/boards/new-board-modal/new-board-modal.component.ts@@ -82,7 +82,6 @@ export class NewBoardModalComponent extends OpModalComponent implements OnInit {teaser_text: this.I18n.t('js.boards.upsale.teaser_text'),upgrade_to_ee_text: this.I18n.t('js.boards.upsale.upgrade'),- more_info_ee_text: this.I18n.t('js.boards.upsale.more_info'),more_info_ee_link: enterpriseDocsUrl.boards,};diff --git a/frontend/src/app/features/boards/new-board-modal/new-board-modal.html b/frontend/src/app/features/boards/new-board-modal/new-board-modal.htmlindex ea58b71619a..284bd6ff997 100644--- a/frontend/src/app/features/boards/new-board-modal/new-board-modal.html+++ b/frontend/src/app/features/boards/new-board-modal/new-board-modal.html@@ -9,7 +9,6 @@*ngIf="eeShowBanners"[linkMessage]="text.upgrade_to_ee_text"[textMessage]="text.teaser_text"- [moreInfoText]="text.more_info_ee_text"[moreInfoLink]="text.more_info_ee_link"opReferrer="boards"></op-enterprise-banner>@@ -25,4 +24,4 @@</tile-view></section></div>-</div>\ No newline at end of file+</div>diff --git a/frontend/src/app/features/work-packages/components/filters/query-filters/query-filters.component.html b/frontend/src/app/features/work-packages/components/filters/query-filters/query-filters.component.htmlindex 2600b3407d0..3b0e06846bf 100644--- a/frontend/src/app/features/work-packages/components/filters/query-filters/query-filters.component.html+++ b/frontend/src/app/features/work-packages/components/filters/query-filters/query-filters.component.html@@ -74,7 +74,6 @@*ngIf="eeShowBanners"[linkMessage]="text.upsale_link"[textMessage]="text.upsale_for_more"- [moreInfoText]="text.more_info_text"[moreInfoLink]="text.more_info_link"opReferrer="wp-filter#filters"></op-enterprise-banner>diff --git a/frontend/src/app/features/work-packages/components/filters/query-filters/query-filters.component.ts b/frontend/src/app/features/work-packages/components/filters/query-filters/query-filters.component.tsindex 4d63d8fff79..b2aa0ef9504 100644--- a/frontend/src/app/features/work-packages/components/filters/query-filters/query-filters.component.ts+++ b/frontend/src/app/features/work-packages/components/filters/query-filters/query-filters.component.ts@@ -72,7 +72,6 @@ export class QueryFiltersComponent extends UntilDestroyedMixin implements OnInitclose_filter: this.I18n.t('js.filter.description.text_close_filter'),upsale_for_more: this.I18n.t('js.filter.upsale_for_more'),upsale_link: this.I18n.t('js.filter.upsale_link'),- more_info_text: this.I18n.t('js.filter.more_info'),more_info_link: enterpriseDocsUrl.website,close_form: this.I18n.t('js.close_form_title'),selected_filter_list: this.I18n.t('js.label_selected_filter_list'),diff --git a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/columns-tab.component.html b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/columns-tab.component.htmlindex 13bdacc63d8..0a5f0eb3647 100644--- a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/columns-tab.component.html+++ b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/columns-tab.component.html@@ -17,6 +17,5 @@[linkMessage]="text.upsaleCheckOutLink"[textMessage]="text.upsaleRelationColumns"[moreInfoLink]="text.moreInfoLink"- [moreInfoText]="text.moreInfoText"opReferrer="wp-list-columns#relations"></op-enterprise-banner>diff --git a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/columns-tab.component.ts b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/columns-tab.component.tsindex e318ff9e4c5..30bf2f00bdf 100644--- a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/columns-tab.component.ts+++ b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/columns-tab.component.ts@@ -32,7 +32,6 @@ export class WpTableConfigurationColumnsTabComponent implements TabComponent, OnupsaleRelationColumns: this.I18n.t('js.work_packages.table_configuration.upsale.relation_columns'),upsaleCheckOutLink: this.I18n.t('js.work_packages.table_configuration.upsale.check_out_link'),- moreInfoText: this.I18n.t('js.work_packages.table_configuration.upsale.more-info-text'),moreInfoLink: enterpriseDocsUrl.website,};diff --git a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/highlighting-tab.component.html b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/highlighting-tab.component.htmlindex 170e4b73991..75ea5cb1c64 100644--- a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/highlighting-tab.component.html+++ b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/highlighting-tab.component.html@@ -3,7 +3,6 @@*ngIf="eeShowBanners"[linkMessage]="text.upsaleCheckOutLink"[textMessage]="text.upsaleAttributeHighlighting"- [moreInfoText]="text.more_info_text"[moreInfoLink]="text.more_info_link"opReferrer="wp-attribute-highlighting#attribute-highlighting"></op-enterprise-banner>@@ -19,7 +18,7 @@name="highlighting_mode_switch"><span [textContent]="text.highlighting_mode.inline"></span> </label>-+<div class="form--field-container"><div class="form--select-container"><ng-select #highlightedAttributesNgSelectdiff --git a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/highlighting-tab.component.ts b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/highlighting-tab.component.tsindex 5027e3f92bc..4f62e130e20 100644--- a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/highlighting-tab.component.ts+++ b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/highlighting-tab.component.ts@@ -53,7 +53,6 @@ export class WpTableConfigurationHighlightingTabComponent implements TabComponen},upsaleAttributeHighlighting: this.I18n.t('js.work_packages.table_configuration.upsale.attribute_highlighting'),upsaleCheckOutLink: this.I18n.t('js.work_packages.table_configuration.upsale.check_out_link'),- more_info_text: this.I18n.t('js.filter.more_info'),more_info_link: enterpriseDocsUrl.tableHighlighting,};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 39382f1ef2e..5258a6a3a77 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@@ -21,12 +21,12 @@<div class="op-enterprise-banner--buttons"><a- *ngIf="moreInfoText"+ *ngIf="moreInfoLink"[attr.href]="moreInfoLink"class="button--link op-enterprise-banner--info-button"target=”_blank”><op-icon icon-classes="icon icon-external-link"></op-icon>- {{ moreInfoText }}+ {{ text.more_info_text }}</a><adiff --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 86fbc3ee07e..b9587d44d26 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@@ -31,21 +31,20 @@ export class EnterpriseBannerComponent implements OnInit {@Input() public opReferrer:string;- @Input() public moreInfoText:string;-@Input() public moreInfoLink:string;- public link:string;+ link:string;pricingUrl = pricingUrl;- public text = {+ text = {enterpriseFeature: this.I18n.t('js.upsale.ee_only'),become_hero: this.I18n.t('js.admin.enterprise.upsale.become_hero'),you_contribute: this.I18n.t('js.admin.enterprise.upsale.you_contribute'),button_trial: this.I18n.t('js.admin.enterprise.upsale.button_start_trial'),upgrade: this.I18n.t('js.admin.enterprise.upsale.button_upgrade'),more_info_link: `${this.pathHelper.appBasePath}/admin/enterprise`,+ more_info_text: this.I18n.t('js.admin.enterprise.upsale.more_info'),};image = {diff --git a/frontend/src/app/shared/components/grids/widgets/add/add.modal.html b/frontend/src/app/shared/components/grids/widgets/add/add.modal.htmlindex 42ee0ee3620..4949963d9fd 100644--- a/frontend/src/app/shared/components/grids/widgets/add/add.modal.html+++ b/frontend/src/app/shared/components/grids/widgets/add/add.modal.html@@ -10,12 +10,11 @@*ngIf="eeShowBanners"[linkMessage]="text.upsale_link"[textMessage]="text.upsale_text"- [moreInfoText]="text.more_info_text"[moreInfoLink]="text.more_info_link"class="grid--add-widget-ee"opReferrer="grids#add-widget"></op-enterprise-banner>-+<div*ngFor="let widget of selectable;trackBy: trackWidgetBy"(click)="select($event, widget)"diff --git a/frontend/src/app/shared/components/grids/widgets/add/add.modal.ts b/frontend/src/app/shared/components/grids/widgets/add/add.modal.tsindex d81890aa35b..adb35770e08 100644--- a/frontend/src/app/shared/components/grids/widgets/add/add.modal.ts+++ b/frontend/src/app/shared/components/grids/widgets/add/add.modal.ts@@ -19,7 +19,6 @@ export class AddGridWidgetModalComponent extends OpModalComponent {close_popup: this.i18n.t('js.button_close'),upsale_link: this.i18n.t('js.grid.upsale.link'),upsale_text: this.i18n.t('js.grid.upsale.text'),- more_info_text: this.i18n.t('js.filter.more_info'),more_info_link: enterpriseDocsUrl.graphWidget,};diff --git a/modules/boards/config/locales/js-en.yml b/modules/boards/config/locales/js-en.ymlindex 3247ef5f9e6..03b055a8e9a 100644--- a/modules/boards/config/locales/js-en.yml+++ b/modules/boards/config/locales/js-en.yml@@ -10,7 +10,6 @@ en:upsale:teaser_text: 'Would you like to automate your workflows with Boards? Advanced boards are an Enterprise feature. Please upgrade to a paid plan.'upgrade: 'Upgrade now'- more_info: 'More information'lists:delete: 'Delete list'