Fixing delete button for issues, tasks and user stories

stable
Alejandro Alonso 2015-10-28 15:04:19 +01:00
parent 60c71ac331
commit bcfaba4cff
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 %>