1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Show message when no updates are available

This commit is contained in:
Mark McDowall 2014-04-03 19:16:48 -07:00
parent e5263f143d
commit 30e66afb20
3 changed files with 16 additions and 3 deletions

View File

@ -0,0 +1,10 @@
'use strict';
define(
[
'marionette'
], function (Marionette) {
return Marionette.ItemView.extend({
template: 'System/Update/EmptyViewTemplate'
});
});

View File

@ -0,0 +1 @@
<div>No updates are available</div>

View File

@ -2,9 +2,11 @@
define( define(
[ [
'marionette', 'marionette',
'System/Update/UpdateItemView' 'System/Update/UpdateItemView',
], function (Marionette, UpdateItemView) { 'System/Update/EmptyView'
], function (Marionette, UpdateItemView, EmptyView) {
return Marionette.CollectionView.extend({ return Marionette.CollectionView.extend({
itemView: UpdateItemView itemView : UpdateItemView,
emptyView: EmptyView
}); });
}); });