mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 00:53:57 -07:00
Version added to footer
This commit is contained in:
parent
0ae1865dd8
commit
f94220c5ff
10 changed files with 52 additions and 18 deletions
15
UI/Shared/Footer/View.js
Normal file
15
UI/Shared/Footer/View.js
Normal 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();
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue