1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

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
+11
View File
@@ -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;
});
+2
View File
@@ -0,0 +1,2 @@
<p>&copy; Copyright 2013 NzbDrone</p>
<p>v{{version}}</p>
+15
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();
});
+3
View File
@@ -0,0 +1,3 @@
footer {
font-size: 12.6px;
}