diff options
Diffstat (limited to 'client/src/app/+admin/plugins/plugin-search/plugin-search.component.html')
-rw-r--r-- | client/src/app/+admin/plugins/plugin-search/plugin-search.component.html | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.html b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.html index 14f28f7ef..33575ef52 100644 --- a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.html +++ b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.html | |||
@@ -1,28 +1,27 @@ | |||
1 | <div class="toggle-plugin-type"> | 1 | <my-plugin-navigation [pluginType]="pluginType"></my-plugin-navigation> |
2 | <p-selectButton [options]="pluginTypeOptions" [(ngModel)]="pluginType" (ngModelChange)="reloadPlugins()"></p-selectButton> | ||
3 | </div> | ||
4 | |||
5 | <div class="search-bar"> | ||
6 | <input type="text" (input)="onSearchChange($event)" i18n-placeholder placeholder="Search..." myAutofocus /> | ||
7 | </div> | ||
8 | 2 | ||
9 | <div class="alert alert-info" i18n *ngIf="pluginInstalled"> | 3 | <div class="alert alert-info" i18n *ngIf="pluginInstalled"> |
10 | To load your new installed plugins or themes, refresh the page. | 4 | To load your new installed plugins or themes, refresh the page. |
11 | </div> | 5 | </div> |
12 | 6 | ||
13 | <div class="result-title" *ngIf="!isSearching"> | 7 | <div class="result-and-search"> |
14 | <ng-container *ngIf="!search"> | 8 | <ng-container *ngIf="!search"> |
15 | <my-global-icon iconName="trending" aria-hidden="true"></my-global-icon> | 9 | <my-global-icon iconName="trending" aria-hidden="true"></my-global-icon> |
16 | <ng-container i18n>Popular</ng-container> | 10 | <ng-container *ngIf="!isThemeSearch()" i18n>Popular plugins</ng-container> |
11 | <ng-container *ngIf="isThemeSearch()" i18n>Popular themes</ng-container> | ||
17 | </ng-container> | 12 | </ng-container> |
18 | 13 | ||
19 | <ng-container *ngIf="!!search"> | 14 | <ng-container *ngIf="search && !isSearching"> |
20 | <my-global-icon iconName="search"></my-global-icon> | 15 | <my-global-icon iconName="search"></my-global-icon> |
21 | 16 | ||
22 | <ng-container i18n> | 17 | <ng-container i18n> |
23 | {{ pagination.totalItems }} {pagination.totalItems, plural, =1 {result} other {results}} for "{{ search }}" | 18 | {{ pagination.totalItems }} {pagination.totalItems, plural, =1 {result} other {results}} for "{{ search }}" |
24 | </ng-container> | 19 | </ng-container> |
25 | </ng-container> | 20 | </ng-container> |
21 | |||
22 | <div class="search-bar"> | ||
23 | <input type="text" (input)="onSearchChange($event)" i18n-placeholder placeholder="Search..." myAutofocus /> | ||
24 | </div> | ||
26 | </div> | 25 | </div> |
27 | 26 | ||
28 | <div class="no-results" i18n *ngIf="pagination.totalItems === 0"> | 27 | <div class="no-results" i18n *ngIf="pagination.totalItems === 0"> |