Starts setting the correct icon in status ( ref. #62 )

This commit is contained in:
Eduardo Humberto 2018-12-13 22:43:27 -02:00
parent e56362357f
commit 1cf84fda80
1 changed files with 12 additions and 2 deletions

View File

@ -182,17 +182,27 @@
autoHide: false,
placement: 'auto-start'
}"
v-if="bgProcess.done > 0 && !bgProcess.error_log"
v-if=" bgProcess.status === 'finished' "
class="icon has-text-success">
<i class="tainacan-icon tainacan-icon-20px tainacan-icon-finish"/>
</span>
<span
v-tooltip="{
content: $i18n.get('label_process_completed_with_errors'),
autoHide: false,
placement: 'auto-start'
}"
v-if=" bgProcess.status === 'finished-errors' "
class="icon has-text-success">
! <i class="tainacan-icon tainacan-icon-20px tainacan-icon-finish"/>
</span>
<span
v-tooltip="{
content: $i18n.get('label_process_failed'),
autoHide: false,
placement: 'auto-start'
}"
v-if="bgProcess.done > 0 && bgProcess.error_log"
v-if="bgProcess.status === 'errored'"
class="icon has-text-danger">
<i class="tainacan-icon tainacan-icon-20px tainacan-icon-processerror" />
</span>