Version added to footer

This commit is contained in:
Mark McDowall 2013-06-14 21:02:40 -07:00
parent 0ae1865dd8
commit f94220c5ff
10 changed files with 52 additions and 18 deletions

15
UI/Shared/Footer/View.js Normal file
View file

@ -0,0 +1,15 @@
"use strict";
define(['app',
'Shared/Footer/Model'], function () {
NzbDrone.Shared.Footer.View = Backbone.Marionette.ItemView.extend({
template: 'Shared/Footer/Template',
initialize: function () {
this.model = new NzbDrone.Shared.Footer.Model();
this.model.version = NzbDrone.Constants.Version;
}
});
return new NzbDrone.Shared.Footer.View();
});