New: Filter series by type (standard, daily or anime)

pull/3113/head
Mark McDowall 10 years ago
parent 1368c4376b
commit 0a44744c5e

@ -186,3 +186,17 @@
.icon(@exclamation-sign); .icon(@exclamation-sign);
color : @brand-danger; color : @brand-danger;
} }
.icon-nd-standard-series:before {
font-weight: bold;
content: 'S';
}
.icon-nd-daily-series:before {
.icon(@calendar-empty);
}
.icon-nd-anime:before {
font-weight: bold;
content: 'A';
}

@ -216,6 +216,27 @@ define(
tooltip : 'Ended Only', tooltip : 'Ended Only',
icon : 'icon-stop', icon : 'icon-stop',
callback: this._setFilter callback: this._setFilter
},
{
key : 'standard',
title : '',
tooltip : 'Standard Series Only',
icon : 'icon-nd-standard-series',
callback: this._setFilter
},
{
key : 'daily',
title : '',
tooltip : 'Daily Series Only',
icon : 'icon-nd-daily-series',
callback: this._setFilter
},
{
key : 'anime',
title : '',
tooltip : 'Anime Only',
icon : 'icon-nd-anime',
callback: this._setFilter
} }
] ]
}; };

@ -54,7 +54,10 @@ define(
'all' : [null, null], 'all' : [null, null],
'continuing' : ['status', 'continuing'], 'continuing' : ['status', 'continuing'],
'ended' : ['status', 'ended'], 'ended' : ['status', 'ended'],
'monitored' : ['monitored', true] 'monitored' : ['monitored', true],
'standard' : ['seriesType', 'standard'],
'daily' : ['seriesType', 'daily'],
'anime' : ['seriesType', 'anime']
}, },
sortMappings: { sortMappings: {

Loading…
Cancel
Save