Revision 60614
Added by Konstantinos Triantafyllou about 3 years ago
search-tab.component.ts | ||
---|---|---|
5 | 5 |
@Component({ |
6 | 6 |
selector: 'search-tab', |
7 | 7 |
template: ` |
8 |
<errorMessages [status]="[fetch.searchUtils.status]" [type]="getEntityName(resultType, true, true)" |
|
8 |
<errorMessages *ngIf="resultType" [status]="[fetch.searchUtils.status]" [type]="getEntityName(resultType, true, true)"
|
|
9 | 9 |
tab_error_class=true></errorMessages> |
10 | 10 |
|
11 | 11 |
<div *ngIf="fetch.searchUtils.status == errorCodes.DONE"> |
12 | 12 |
<div class="tab-header"> |
13 |
<span *ngIf="!customTitle"><span *ngIf="resultType != 'organization' && resultType != 'dataprovider' && resultType != 'project'">Recent</span> |
|
13 |
<span *ngIf="!customTitle && resultType"><span *ngIf="resultType != 'organization' && resultType != 'dataprovider' && resultType != 'project'">Recent</span>
|
|
14 | 14 |
{{getEntityName(resultType, true, true)}} |
15 | 15 |
</span> |
16 | 16 |
<span *ngIf="customTitle">{{customTitle}}</span> |
Also available in: Unified diff
[Library | Trunk]: Add dmps on project