2 <my-global-icon iconName=
"history" aria-hidden=
"true"></my-global-icon>
3 <ng-container i18n
>My watch history
</ng-container>
4 <span *
ngIf=
"pagination.totalItems" class=
"pt-badge badge-secondary">{{ pagination.totalItems }}
</span>
7 <div class=
"top-buttons">
8 <div class=
"search-wrapper">
9 <my-advanced-input-filter [emitOnInit]=
"false" (search)=
"onSearch($event)"></my-advanced-input-filter>
12 <div class=
"history-switch">
13 <my-input-switch [(ngModel)]=
"videosHistoryEnabled" (ngModelChange)=
"onVideosHistoryChange()"></my-input-switch>
14 <label i18n
>Track watch history
</label>
17 <button class=
"delete-history" (click)=
"clearAllHistory()" i18n
>
18 <my-global-icon iconName=
"delete" aria-hidden=
"true"></my-global-icon>
24 [pagination]=
"pagination"
25 [(videosModel)]=
"videos"
26 [miniatureDisplayOptions]=
"miniatureDisplayOptions"
27 [titlePage]=
"titlePage"
28 [getVideosObservableFunction]=
"getVideosObservableFunction"
30 [noResultMessage]=
"getNoResultMessage()"
31 [enableSelection]=
"false"
35 <ng-template ptTemplate=
"rowButtons" let-video
>
36 <div class=
"action-button">
37 <my-delete-button i18n-label
label=
"Delete from history" (click)=
"deleteHistoryElement(video)"></my-delete-button>
40 </my-videos-selection>