diff options
Diffstat (limited to 'sonar-server/src/main/coffee/issues/views/rule-view.coffee')
-rw-r--r-- | sonar-server/src/main/coffee/issues/views/rule-view.coffee | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sonar-server/src/main/coffee/issues/views/rule-view.coffee b/sonar-server/src/main/coffee/issues/views/rule-view.coffee new file mode 100644 index 00000000000..caf05d4c72f --- /dev/null +++ b/sonar-server/src/main/coffee/issues/views/rule-view.coffee @@ -0,0 +1,20 @@ +define [ + 'backbone.marionette' + 'templates/issues' +], ( + Marionette + Templates +) -> + + class IssueDetailRuleView extends Marionette.ItemView + className: 'rule-desc' + template: Templates['rule'] + + modelEvents: + 'change': 'render' + + + serializeData: -> + _.extend super, + characteristic: this.options.issue.get 'characteristic' + subCharacteristic: this.options.issue.get 'subCharacteristic'
\ No newline at end of file |