From: Stas Vilchik Date: Mon, 3 Mar 2014 16:39:04 +0000 (+0100) Subject: Add missed file X-Git-Tag: 4.3~589 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=258402fab04c7aa180d31e8499f6f911beed02c8;p=sonarqube.git Add missed file --- diff --git a/sonar-server/src/main/webapp/javascripts/quality-gate/views/quality-gate-sidebar-list-empty-view.js b/sonar-server/src/main/webapp/javascripts/quality-gate/views/quality-gate-sidebar-list-empty-view.js new file mode 100644 index 00000000000..15345f2ef51 --- /dev/null +++ b/sonar-server/src/main/webapp/javascripts/quality-gate/views/quality-gate-sidebar-list-empty-view.js @@ -0,0 +1,27 @@ +// Generated by CoffeeScript 1.6.3 +(function() { + var __hasProp = {}.hasOwnProperty, + __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; + + define(['backbone.marionette', 'handlebars'], function(Marionette, Handlebars) { + var QualityGateSidebarListEmptyView, _ref; + return QualityGateSidebarListEmptyView = (function(_super) { + __extends(QualityGateSidebarListEmptyView, _super); + + function QualityGateSidebarListEmptyView() { + _ref = QualityGateSidebarListEmptyView.__super__.constructor.apply(this, arguments); + return _ref; + } + + QualityGateSidebarListEmptyView.prototype.tagName = 'li'; + + QualityGateSidebarListEmptyView.prototype.className = 'empty'; + + QualityGateSidebarListEmptyView.prototype.template = Handlebars.compile(jQuery('#quality-gate-sidebar-list-empty-template').html()); + + return QualityGateSidebarListEmptyView; + + })(Marionette.ItemView); + }); + +}).call(this);