2 <my-global-icon iconName=
"history" aria-hidden=
"true"></my-global-icon>
3 <ng-container i18n
>My watch history
</ng-container> <span class=
"badge badge-secondary">{{ pagination.totalItems }}
</span>
6 <div class=
"top-buttons">
7 <div class=
"search-wrapper">
8 <my-advanced-input-filter [emitOnInit]=
"false" (search)=
"onSearch($event)"></my-advanced-input-filter>
11 <div class=
"history-switch">
12 <my-input-switch [(ngModel)]=
"videosHistoryEnabled" (ngModelChange)=
"onVideosHistoryChange()"></my-input-switch>
13 <label i18n
>Track watch history
</label>
16 <button class=
"delete-history" (click)=
"clearAllHistory()" i18n
>
17 <my-global-icon iconName=
"delete" aria-hidden=
"true"></my-global-icon>
23 [pagination]=
"pagination"
24 [(videosModel)]=
"videos"
25 [miniatureDisplayOptions]=
"miniatureDisplayOptions"
26 [titlePage]=
"titlePage"
27 [getVideosObservableFunction]=
"getVideosObservableFunction"
29 i18n-noResultMessage
noResultMessage=
"You don't have any video in your watch history yet."
30 [enableSelection]=
"false"
34 <ng-template ptTemplate=
"rowButtons" let-video
>
35 <div class=
"action-button">
36 <my-delete-button i18n-label
label=
"Delete from history" (click)=
"deleteHistoryElement(video)"></my-delete-button>
39 </my-videos-selection>