mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
Version added to footer
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
define(['app'], function () {
|
||||
|
||||
NzbDrone.Shared.Footer.Model = Backbone.Model.extend({
|
||||
defaults: {
|
||||
'version' : '0.0.0.0'
|
||||
}
|
||||
});
|
||||
|
||||
return NzbDrone.Shared.Footer.Model;
|
||||
});
|
||||
@@ -0,0 +1,2 @@
|
||||
<p>© Copyright 2013 NzbDrone</p>
|
||||
<p>v{{version}}</p>
|
||||
@@ -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();
|
||||
});
|
||||
@@ -0,0 +1,3 @@
|
||||
footer {
|
||||
font-size: 12.6px;
|
||||
}
|
||||
Reference in New Issue
Block a user