2016-06-07 19:09:47 +02:00
|
|
|
<template name="caseProgress">
|
2017-06-16 18:40:29 -03:00
|
|
|
{{#form (extend class='caseProgress' api=instance.api)}}
|
2016-08-15 15:34:36 +02:00
|
|
|
{{#unless progressComplete}}
|
2017-01-11 11:52:45 -02:00
|
|
|
{{>radialProgressBar isLocked=isLocked progressPercent=progressPercent progressText=progressText}}
|
|
|
|
|
{{/unless}}
|
2016-07-20 09:39:40 -03:00
|
|
|
{{#if isLocked}}
|
|
|
|
|
<div class="caseProgressStatus">
|
|
|
|
|
<h5>Locked</h5>
|
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
{{#if progressComplete}}
|
|
|
|
|
<div class="caseProgressStatus">
|
2017-06-16 18:40:29 -03:00
|
|
|
{{#button class='btn' action='save' disabled=(isFinishDisabled)}}Save{{/button}}
|
2016-07-20 09:39:40 -03:00
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
2017-06-16 18:40:29 -03:00
|
|
|
{{/form}}
|
2016-07-20 09:39:40 -03:00
|
|
|
</template>
|