diff options
author | Mario Vavti <mario@mariovavti.com> | 2021-10-01 18:10:32 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2021-10-01 18:10:32 +0200 |
commit | e7f4c1ffd118d1ac584a25fb661f5ea45c873515 (patch) | |
tree | c929db8ad37bd438c16c88d86ac44fa903aa2f6a | |
parent | 9a87b8bf1b4384660822f6cb820dbc09e308d07f (diff) | |
download | volse-hubzilla-e7f4c1ffd118d1ac584a25fb661f5ea45c873515.tar.gz volse-hubzilla-e7f4c1ffd118d1ac584a25fb661f5ea45c873515.tar.bz2 volse-hubzilla-e7f4c1ffd118d1ac584a25fb661f5ea45c873515.zip |
missing template class logic
-rw-r--r-- | view/tpl/import_progress.tpl | 4 |
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> |