3 'templates/coding-rules'
9 class CodingRulesDetailQualityProfilesView extends Marionette.ItemView
10 className: 'coding-rules-detail-quality-profile'
11 template: Templates['coding-rules-detail-quality-profile']
15 change: '.coding-rules-detail-quality-profile-change'
19 @ui.update.prop 'disabled', false
23 return null unless @model.get 'inherits'
24 @options.qualityProfiles.findWhere(key: @model.get('inherits')).toJSON()
29 parameters = @model.get 'parameters'
30 return parameters unless parent
32 _.extend p, original: _.findWhere(parent.parameters, key: p.key).value
38 parameters: @enhanceParameters()