aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/coffee/coding-rules/views/coding-rules-debt-popup-view.coffee
blob: c8882d87fb4663866aabb733b7c301b78451b914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
define [
  'backbone.marionette'
  'templates/coding-rules'
  'common/popup'
], (
  Marionette
  Templates
  Popup
) ->

  class CodingRulesDebtPopupView extends Popup
    template: Templates['coding-rules-debt-popup']

    serializeData: ->
      _.extend super,
        subcharacteristic: @options.app.getSubcharacteristicName(@model.get 'debtSubChar')