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 unused templates of autocompleters
Henriette Darge0268ca946147
diff --git a/frontend/src/app/shared/components/autocompleter/project-autocompleter/project-autocompleter.component.html b/frontend/src/app/shared/components/autocompleter/project-autocompleter/project-autocompleter.component.htmldeleted file mode 100644index 2e2ea2a3cbe..00000000000--- a/frontend/src/app/shared/components/autocompleter/project-autocompleter/project-autocompleter.component.html+++ /dev/null@@ -1,42 +0,0 @@-<op-autocompleter- [model]="model"- [getOptionsFn]="getAvailableProjects.bind(this)"- [trackByFn]="projectTracker"-- [multiple]="multiple"- [focusDirectly]="focusDirectly"- [openDirectly]="openDirectly"- [labelForId]="labelForId"- [placeholder]="placeholder"- [dropdownPosition]="dropdownPosition"- [clearable]="clearable"- [appendTo]="appendTo"-- (keydown.escape)="cancel.emit()"->- <ng-template- ng-label-tmp- let-item- >- <span class="ng-value-label">{{ item.name }}</span>- </ng-template>-- <ng-template- op-autocompleter-option-tmp- let-item- let-search="search"- >- <div- [title]="item.name"- class="ng-option-label ellipsis"- [ngStyle]="{ 'padding-left.px': item.numberOfAncestors * 16 }"- [opSearchHighlight]="search"- >{{ item.name }}</div>- <div- [title]="item.disabledReason"- *ngIf="item.disabled && item.disabledReason"- class="ng-option-label ellipsis"- [ngStyle]="{ 'padding-left.px': item.numberOfAncestors * 16 }"- >{{ item.disabledReason }}</div>- </ng-template>-</op-autocompleter>diff --git a/frontend/src/app/shared/components/autocompleter/user-autocompleter/user-autocompleter.component.html b/frontend/src/app/shared/components/autocompleter/user-autocompleter/user-autocompleter.component.htmldeleted file mode 100644index 6aa23908685..00000000000--- a/frontend/src/app/shared/components/autocompleter/user-autocompleter/user-autocompleter.component.html+++ /dev/null@@ -1,37 +0,0 @@-<op-autocompleter- [model]="value"- [inputName]="inputName"- [inputValue]="inputValue"- [inputBindValue]="inputBindValue"- [getOptionsFn]="getAvailableUsers.bind(this)"- [trackByFn]="userTracker"- [multiple]="multiple"- [labelForId]="labelForId"- [appendTo]="appendTo"- [openDirectly]="openDirectly"- [focusDirectly]="focusDirectly"- (change)="valueSelected($event)"- (keydown.escape)="cancel.emit()"->- <ng-template- op-autocompleter-option-tmp- let-item- let-search="search"- >- <op-principal- *ngIf="item && item.href"- [principal]="item"- [hideName]="true"- size="mini"- ></op-principal>- <span [opSearchHighlight]="search">- {{ item.name }}- </span>- </ng-template>- <ng-template op-autocompleter-footer-tmp *ngIf="inviteUserToProject">- <op-invite-user-button- [projectId]="inviteUserToProject"- class="op-select-footer"- ></op-invite-user-button>- </ng-template>-</op-autocompleter>