aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2021-10-01 18:10:32 +0200
committerMario Vavti <mario@mariovavti.com>2021-10-01 18:10:32 +0200
commite7f4c1ffd118d1ac584a25fb661f5ea45c873515 (patch)
treec929db8ad37bd438c16c88d86ac44fa903aa2f6a
parent9a87b8bf1b4384660822f6cb820dbc09e308d07f (diff)
downloadvolse-hubzilla-e7f4c1ffd118d1ac584a25fb661f5ea45c873515.tar.gz
volse-hubzilla-e7f4c1ffd118d1ac584a25fb661f5ea45c873515.tar.bz2
volse-hubzilla-e7f4c1ffd118d1ac584a25fb661f5ea45c873515.zip
missing template class logic
-rw-r--r--view/tpl/import_progress.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/import_progress.tpl b/view/tpl/import_progress.tpl
index 2a05661ff..997adad22 100644
--- a/view/tpl/import_progress.tpl
+++ b/view/tpl/import_progress.tpl
@@ -17,10 +17,10 @@
<div class="progress mb-2">
<div id="cprogress-bar" class="progress-bar progress-bar-striped bg-warning{{if $cprogress < 100}} progress-bar-animated{{/if}}" role="progressbar" style="width: {{$cprogress}}%" aria-valuenow="{{$cprogress}}" aria-valuemin="0" aria-valuemax="100"></div>
</div>
- <div id="cprogress-resume" class="">
+ <div id="cprogress-resume" class="{{if $cprogress == 100}}d-none{{/if}}">
<a href="/import_progress/resume_itemsync">[ RESUME ]</a> <span class="text-muted">Only resume if sync stalled!</span>
</div>
- <div id="cprogress-complete" class="d-none">
+ <div id="cprogress-complete" class="{{if $cprogress < 100}}d-none{{/if}}">
<span class="text-muted">Item sync completed!</span>
</div>
</div>