Fix bug #1191: Use the name of types, severities and priorities as class in the issues list needlessly

stable
David Barragán Merino 2014-10-04 19:04:13 +02:00
parent 176aac3678
commit 03848b0bf4
1 changed files with 0 additions and 3 deletions

View File

@ -337,7 +337,6 @@ ListItemPriorityDirective = ->
priority = priorityById[issue.priority]
domNode = $el.find(".level")
domNode.css("background-color", priority.color)
domNode.addClass(priority.name.toLowerCase())
domNode.attr("title", priority.name)
bindOnce $scope, "priorityById", (priorityById) ->
@ -363,7 +362,6 @@ ListItemSeverityDirective = ->
severity = severityById[issue.severity]
domNode = $el.find(".level")
domNode.css("background-color", severity.color)
domNode.addClass(severity.name.toLowerCase())
domNode.attr("title", severity.name)
bindOnce $scope, "severityById", (severityById) ->
@ -388,7 +386,6 @@ ListItemTypeDirective = ->
type = issueTypeById[issue.type]
domNode = $el.find(".level")
domNode.css("background-color", type.color)
domNode.addClass(type.name.toLowerCase())
domNode.attr("title", type.name)
bindOnce $scope, "issueTypeById", (issueTypeById) ->