diff --git a/addon/styles/resources/_workflow-groups.sass b/addon/styles/resources/_workflow-groups.sass index c8e5cd6..7b64d04 100644 --- a/addon/styles/resources/_workflow-groups.sass +++ b/addon/styles/resources/_workflow-groups.sass @@ -51,6 +51,8 @@ background-color: #ddd &.overdue background-color: #f7da00 + &.inquiry + background-color: #ffacec &.processing, &.active background-color: #cef &.rejected @@ -65,6 +67,8 @@ @extend .title-box-success &.overdue @extend .title-box-warning + &.inquiry + @extend .title-box-inquiry .modal .workflow-instance-workflow-group-container diff --git a/app/components/project/modals/edit-instance-action.coffee b/app/components/project/modals/edit-instance-action.coffee index 330bc33..fc625c2 100644 --- a/app/components/project/modals/edit-instance-action.coffee +++ b/app/components/project/modals/edit-instance-action.coffee @@ -119,6 +119,7 @@ export default ModalBase.extend event_value: content event_timestamp: now new_note_event.save().then => + @get('model.events').pushObject new_note_event @set 'new_note_content', '' #@send 'close' start_inquiry: ->