Skip to content

armgit / dashy

Public Imported from GitHub
0

🚀 A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:rotating_light: Fix b =>strong as recommendedn by sonarcloud

Rémy GRANDIN5aab049a43f0
diff --git a/src/components/Widgets/SynologyDownload.vue b/src/components/Widgets/SynologyDownload.vue
index 15c2af3b..aa82089e 100644
--- a/src/components/Widgets/SynologyDownload.vue
+++ b/src/components/Widgets/SynologyDownload.vue
@@ -11,10 +11,12 @@
size: 100 - task.Progress, color: '#6092d1' },
]" />
<p class="info">
- <b>{{ $t('widgets.synology-download.downloaded') }}</b>: {{ task.Downloaded | formatSize }}
+ <strong>{{ $t('widgets.synology-download.downloaded') }}</strong>:
+ {{ task.Downloaded | formatSize }}
/ {{ task.TotalSize | formatSize }} ({{ task.Progress }}%)
({{ task.DownSpeed | formatSize }}/s)<br/>
- <b>{{ $t('widgets.synology-download.uploaded') }}</b>: {{ task.Uploaded | formatSize }}
+ <strong>{{ $t('widgets.synology-download.uploaded') }}</strong>:
+ {{ task.Uploaded | formatSize }}
({{ task.UpSpeed | formatSize }}/s)
(ratio : {{ Math.floor( task.Uploaded / task.Downloaded * 100 ) / 100 }})
</p>