Back to Peertube

Search.Component

client/src/app/+search/search.component.html

8.1.5819 B
Original Source

@if (pagination.totalItems) { {{ pagination.totalItems | myNumberFormatter }} {pagination.totalItems, plural, =1 {result} other {results}} @if (advancedSearch.searchTarget === 'local') { on this instance } @if (advancedSearch.searchTarget === 'search-index') { on the vidiverse } @if (currentSearch) { for {{ currentSearch }} } } Filters @if (numberOfFilters() > 0) { {{ numberOfFilters() }} }

@if (error) { {{ error }} }

@if (pagination.totalItems === 0 && results.length === 0) { No results found } @for (result of results; track result) { @if (isVideoChannel(result)) {

@if (!isExternalChannelUrl()) { } @else { } {{ result.displayName }}

{{ result.nameWithHost }}

{{ result.followersCount }} subscribers

@if (!hideActions()) { } } @if (isVideo(result)) {

} @if (isPlaylist(result)) {

} }