mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 12:02:35 +02:00
Show message when no updates are available
This commit is contained in:
parent
e5263f143d
commit
30e66afb20
10
src/UI/System/Update/EmptyView.js
Normal file
10
src/UI/System/Update/EmptyView.js
Normal file
@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
define(
|
||||
[
|
||||
'marionette'
|
||||
], function (Marionette) {
|
||||
return Marionette.ItemView.extend({
|
||||
template: 'System/Update/EmptyViewTemplate'
|
||||
});
|
||||
});
|
1
src/UI/System/Update/EmptyViewTemplate.html
Normal file
1
src/UI/System/Update/EmptyViewTemplate.html
Normal file
@ -0,0 +1 @@
|
||||
<div>No updates are available</div>
|
@ -2,9 +2,11 @@
|
||||
define(
|
||||
[
|
||||
'marionette',
|
||||
'System/Update/UpdateItemView'
|
||||
], function (Marionette, UpdateItemView) {
|
||||
'System/Update/UpdateItemView',
|
||||
'System/Update/EmptyView'
|
||||
], function (Marionette, UpdateItemView, EmptyView) {
|
||||
return Marionette.CollectionView.extend({
|
||||
itemView: UpdateItemView
|
||||
itemView : UpdateItemView,
|
||||
emptyView: EmptyView
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user