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