aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/quality-gates/gate-conditions-empty-view.js
blob: 03390ac7a8918182d7192575cf472052991e09c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
define([
  './templates'
], function () {

  return Marionette.ItemView.extend({
    tagName: 'tr',
    template: Templates['quality-gate-detail-conditions-empty'],

    serializeData: function () {
      return _.extend(Marionette.ItemView.prototype.serializeData.apply(this, arguments), {
        canEdit: this.options.canEdit
      });
    }
  });

});