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
change enterprise banner component to be used in rails
bsatarnejad3146777ca619
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 2e3f40b6709..b1fa1547ba5 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@@ -22,6 +22,7 @@<div class="op-enterprise-banner--buttons"><a*ngIf="moreInfoText"+ [attr.href]="moreInfoLink"class="button--link op-enterprise-banner--info-button"target=”_blank”><op-icon icon-classes="icon icon-external-link"></op-icon>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 27074ebe99a..239a7a3a035 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@@ -1,6 +1,7 @@import {ChangeDetectionStrategy,Component,+ ElementRef,Injector,Input,OnInit,@@ -10,13 +11,16 @@ import { I18nService } from 'core-app/core/i18n/i18n.service';import { EnterpriseTrialModalComponent } from 'core-app/features/enterprise/enterprise-modal/enterprise-trial.modal';import { EnterpriseTrialService } from 'core-app/features/enterprise/enterprise-trial.service';import { imagePath } from 'core-app/shared/helpers/images/path-helper';+import { DatasetInputs } from '../dataset-inputs.decorator';import { OpModalService } from '../modal/modal.service';+export const enterpriseBannerSelector = 'op-enterprise-banner';++@DatasetInputs@Component({- selector: 'op-enterprise-banner',+ selector: enterpriseBannerSelector,styleUrls: ['./enterprise-banner.component.sass'],templateUrl: './enterprise-banner.component.html',- changeDetection: ChangeDetectionStrategy.OnPush,})export class EnterpriseBannerComponent implements OnInit {@Input() public leftMargin = false;@@ -46,6 +50,7 @@ export class EnterpriseBannerComponent implements OnInit {};constructor(+ readonly elementRef:ElementRef,protected I18n:I18nService,protected bannersService:BannersService,readonly eeTrialService:EnterpriseTrialService,