Fixing delete button for issues, tasks and user stories
parent
60c71ac331
commit
bcfaba4cff
|
@ -412,7 +412,7 @@ DeleteButtonDirective = ($log, $repo, $confirm, $location, $template) ->
|
||||||
if not $attrs.onDeleteTitle
|
if not $attrs.onDeleteTitle
|
||||||
return $log.error "DeleteButtonDirective requires on-delete-title set in scope."
|
return $log.error "DeleteButtonDirective requires on-delete-title set in scope."
|
||||||
|
|
||||||
$el.on "click", ".button", (event) ->
|
$el.on "click", ".button-delete", (event) ->
|
||||||
title = $attrs.onDeleteTitle
|
title = $attrs.onDeleteTitle
|
||||||
subtitle = $model.$modelValue.subject
|
subtitle = $model.$modelValue.subject
|
||||||
|
|
||||||
|
|
|
@ -3,5 +3,5 @@ span(translate="COMMON.STATUS.CLOSED")
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
span(translate="COMMON.STATUS.OPEN")
|
span(translate="COMMON.STATUS.OPEN")
|
||||||
<% } %>
|
<% } %>
|
||||||
span(style!="color:<%- status.color %>")
|
span(class="detail-status", style!="color:<%- status.color %>")
|
||||||
| <%- status.name %>
|
| <%- status.name %>
|
||||||
|
|
Loading…
Reference in New Issue