Skip to content

Commit

Permalink
remove duplicate bit in template
Browse files Browse the repository at this point in the history
  • Loading branch information
lukavdplas committed Nov 2, 2023
1 parent f74e3d5 commit f2dc6a0
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions frontend/src/app/search/search-results.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,6 @@ <h2 class="subtitle" *ngIf="page.total > 5">
<ia-highlight-selector *ngIf="!!queryModel.queryText" [queryModel]="queryModel"></ia-highlight-selector>
</div>

<div class="level">
<h2 class="subtitle" *ngIf="page.total <= 5">
{page.total, plural, =1 {1 hit} other {{{page.total}} hits}}
</h2>
<h2 class="subtitle" *ngIf="page.total > 5">
{{page.total}} results.
<!-- Showing results {{fromIndex+1}} - {{fromIndex+resultsPerPage > totalResults? totalResults : fromIndex+resultsPerPage}}: -->
</h2>
<ng-content *ngIf="!(queryText===null || queryText==='')" select="ia-highlight-selector"></ng-content>
</div>

<div class="level">
<div class="level-left has-text-centered">
<div>
Expand Down

0 comments on commit f2dc6a0

Please sign in to comment.