mirror of
https://github.com/wekan/wekan.git
synced 2025-12-20 17:30:13 +01:00
Only show progress bar percent if there is any checklist item done
This commit is contained in:
parent
e7051c8ecd
commit
1fcc0d2ec2
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ template(name="checklistDetail")
|
||||||
= checklist.title
|
= checklist.title
|
||||||
|
|
||||||
.checklist-progress-bar-container
|
.checklist-progress-bar-container
|
||||||
.checklist-progress-text {{finishedPercent}}%
|
.checklist-progress-text {{#if $gt finishedPercent 0}}{{finishedPercent}}%{{/if}}
|
||||||
.checklist-progress-bar
|
.checklist-progress-bar
|
||||||
.checklist-progress(style="width:{{finishedPercent}}%;{{#if $eq finishedPercent 0}}display:none{{/if}}")
|
.checklist-progress(style="width:{{finishedPercent}}%;{{#if $eq finishedPercent 0}}display:none{{/if}}")
|
||||||
+checklistItems(checklist = checklist)
|
+checklistItems(checklist = checklist)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue