aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2021-10-01 21:52:30 +0200
committerMario Vavti <mario@mariovavti.com>2021-10-01 21:52:30 +0200
commit47e83a15c1168cfd8ebc7905db853f3db6b3b31b (patch)
tree2cd700af6107995b2a35058ea7256bc30bf4266d /view/tpl
parent597e847a3b245140042f18fa34c0b25ef8445256 (diff)
downloadvolse-hubzilla-47e83a15c1168cfd8ebc7905db853f3db6b3b31b.tar.gz
volse-hubzilla-47e83a15c1168cfd8ebc7905db853f3db6b3b31b.tar.bz2
volse-hubzilla-47e83a15c1168cfd8ebc7905db853f3db6b3b31b.zip
import_progress: deal with the situation where items/files are being imported but there are none to import
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/import_progress.tpl20
1 files changed, 10 insertions, 10 deletions
diff --git a/view/tpl/import_progress.tpl b/view/tpl/import_progress.tpl
index 997adad22..05f6c09e3 100644
--- a/view/tpl/import_progress.tpl
+++ b/view/tpl/import_progress.tpl
@@ -1,42 +1,42 @@
-<h3>Channel clone status: 100%</h3>
+<h3>{{$chtitle_str}}: 100%</h3>
<div>
<div class="progress mb-2">
<div class="progress-bar progress-bar-striped bg-primary" role="progressbar" style="width: 100%" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"></div>
</div>
<div>
- <span class="text-muted">Channel cloning completed!</span>
+ <span class="text-muted">{{$chcompleted_str}}</span>
</div>
</div>
<hr>
-<h3>Item sync status: <span id="cprogress-label">{{$cprogress_str}}</span></h3>
+<h3>{{$ctitle_str}}: <span id="cprogress-label">{{$cprogress_str}}</span></h3>
<div id="cprogress">
<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="{{if $cprogress == 100}}d-none{{/if}}">
- <a href="/import_progress/resume_itemsync">[ RESUME ]</a> <span class="text-muted">Only resume if sync stalled!</span>
+ <a href="/import_progress/resume_itemsync" class="text-capitalize">[ {{$resume_str}} ]</a> <span class="text-muted">{{$resume_helper_str}}</span>
</div>
- <div id="cprogress-complete" class="{{if $cprogress < 100}}d-none{{/if}}">
- <span class="text-muted">Item sync completed!</span>
+ <div id="cprogress-completed" class="{{if $cprogress < 100}}d-none{{/if}}">
+ <span class="text-muted">{{$ccompleted_str}}</span>
</div>
</div>
<hr>
-<h3>File sync status: <span id="fprogress-label">{{$fprogress_str}}</span></h3>
+<h3>{{$ftitle_str}}: <span id="fprogress-label">{{$fprogress_str}}</span></h3>
<div id="fprogress">
<div class="progress mb-2">
<div id="fprogress-bar" class="progress-bar progress-bar-striped bg-info{{if $fprogress < 100}} progress-bar-animated{{/if}}" role="progressbar" style="width: {{$fprogress}}%" aria-valuenow="{{$fprogress}}" aria-valuemin="0" aria-valuemax="100"></div>
</div>
<div id="fprogress-resume" class="{{if $fprogress == 100}}d-none{{/if}}">
- <a href="/import_progress/resume_filesync">[ RESUME ]</a> <span class="text-muted">Only resume if sync stalled!</span>
+ <a href="/import_progress/resume_filesync" class="text-capitalize">[ {{$resume_str}} ]</a> <span class="text-muted">{{$resume_helper_str}}</span>
</div>
- <div id="fprogress-complete" class="{{if $fprogress < 100}}d-none{{/if}}">
- <span class="text-muted">File sync completed!</span>
+ <div id="fprogress-completed" class="{{if $fprogress < 100}}d-none{{/if}}">
+ <span class="text-muted">{{$fcompleted_str}}</span>
</div>
</div>