Fixing blocked info
parent
19828a5799
commit
3dc98bbd3b
|
@ -46,7 +46,7 @@ BlockDirective = () ->
|
|||
|
||||
$scope.$apply ->
|
||||
$model.$modelValue.is_blocked = true
|
||||
$model.$modelValue.blocked_note_html = $el.find(".reason").val()
|
||||
$model.$modelValue.blocked_note = $el.find(".reason").val()
|
||||
|
||||
$el.addClass("hidden")
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ block content
|
|||
div.blocked-warning(ng-show="issue.is_blocked")
|
||||
span.icon.icon-warning
|
||||
p.blocked Blocked!
|
||||
p(tg-bind-html="issue.blocked_note_html")
|
||||
p(tg-bind-html="issue.blocked_note || 'This issue is blocked'")
|
||||
a.button.button-red.button-block.unblock(ng-click="ctrl.unblock()", href="", title="Unblock US") Unblock
|
||||
|
||||
div.user-story-tags(tg-tag-line, editable="true", ng-model="issue.tags")
|
||||
|
|
|
@ -23,7 +23,7 @@ block content
|
|||
div.blocked-warning(ng-show="issue.is_blocked")
|
||||
span.icon.icon-warning
|
||||
p.blocked Blocked!
|
||||
p(tg-bind-html="issue.blocked_note_html")
|
||||
p(tg-bind-html="issue.blocked_note || 'This issue is blocked'")
|
||||
|
||||
div.user-story-tags(tg-tag-line, ng-model="issue.tags")
|
||||
|
||||
|
|
Loading…
Reference in New Issue