This repository has been archived by the owner on Apr 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change-Id: I4e7af36551dcb485a8e3d3a453c7a92a86468a2b
- Loading branch information
Showing
2 changed files
with
31 additions
and
19 deletions.
There are no files selected for viewing
43 changes: 25 additions & 18 deletions
43
src/web/src/app/modules/search/components/search/search.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,27 @@ | ||
<app-app-title #$title | ||
[hidden]="$title.count === 0" | ||
i18n>Searching results for {{ title$ | async }}</app-app-title> | ||
<app-app-list #$list | ||
[appList]="apps$|async" | ||
[sortBy]="$title.sortBy" | ||
[hidden]="$title.count === 0" | ||
(appListLength)="$title.count = $event"></app-app-list> | ||
<ng-container *ngIf="loaded;else loading"> | ||
<app-app-title #$title | ||
[hidden]="$title.count === 0" | ||
i18n>Searching results for {{ title$ | async }}</app-app-title> | ||
<app-app-list #$list | ||
[appList]="apps$|async" | ||
[sortBy]="$title.sortBy" | ||
[hidden]="$title.count === 0" | ||
(appListLength)="$title.count = $event"></app-app-list> | ||
|
||
<ng-container *ngIf="$title.count === 0"> | ||
<div class="searchEmpty"> | ||
<img class="tips_bg" /> <span i18n>Sorry</span> | ||
<div class="gray-text" | ||
i18n>No search results found</div> | ||
<ng-container *ngIf="$title.count === 0"> | ||
<div class="searchEmpty"> | ||
<img class="tips_bg" /> <span i18n>Sorry</span> | ||
<div class="gray-text" | ||
i18n>No search results found</div> | ||
|
||
<div class="gray-text" | ||
i18n>Welcome to <a class="recommend" | ||
(click)="recommend()">recommend</a> this application</div> | ||
</div> | ||
</ng-container> | ||
<div class="gray-text" | ||
i18n>Welcome to <a class="recommend" | ||
(click)="recommend()">recommend</a> this application</div> | ||
</div> | ||
</ng-container> | ||
</ng-container> | ||
|
||
<div class="loadingContainer" | ||
#loading> | ||
<app-wait></app-wait> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters