Changelog will only show updates with notable changes

This commit is contained in:
Mark McDowall 2013-09-30 14:31:03 -07:00
commit ea5549d736
5 changed files with 23 additions and 5 deletions

View file

@ -0,0 +1,18 @@
'use strict';
define(
[
'handlebars'
], function (Handlebars) {
Handlebars.registerHelper('currentVersion', function (version) {
var currentVersion = window.NzbDrone.ServerStatus.version;
if (currentVersion === version)
{
return new Handlebars.SafeString('<i class="icon-ok" title="Installed"></i>');
}
return '';
});
});