Compare commits
2 Commits
2025.12.26
...
2025.12.27
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1f8fa7744e | ||
|
|
092765535f |
@@ -395,7 +395,7 @@
|
|||||||
<fa-icon [icon]="faTimesCircle" class="text-danger" />
|
<fa-icon [icon]="faTimesCircle" class="text-danger" />
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
<span ngbTooltip="{{download.value.msg}} | {{download.value.error}}">@if (!!download.value.filename) {
|
<span ngbTooltip="{{buildResultItemTooltip(download.value)}}">@if (!!download.value.filename) {
|
||||||
<a href="{{buildDownloadLink(download.value)}}" target="_blank">{{ download.value.title }}</a>
|
<a href="{{buildDownloadLink(download.value)}}" target="_blank">{{ download.value.title }}</a>
|
||||||
} @else {
|
} @else {
|
||||||
{{download.value.title}}
|
{{download.value.title}}
|
||||||
|
|||||||
@@ -367,6 +367,16 @@ export class App implements AfterViewInit, OnInit {
|
|||||||
return baseDir + encodeURIComponent(download.filename);
|
return baseDir + encodeURIComponent(download.filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
buildResultItemTooltip(download: Download) {
|
||||||
|
const parts = [];
|
||||||
|
if (download.msg) {
|
||||||
|
parts.push(download.msg);
|
||||||
|
}
|
||||||
|
if (download.error) {
|
||||||
|
parts.push(download.error);
|
||||||
|
}
|
||||||
|
return parts.join(' | ');
|
||||||
|
}
|
||||||
|
|
||||||
isNumber(event: KeyboardEvent) {
|
isNumber(event: KeyboardEvent) {
|
||||||
const charCode = +event.code || event.keyCode;
|
const charCode = +event.code || event.keyCode;
|
||||||
|
|||||||
Reference in New Issue
Block a user