Skip to content

Commit

Permalink
2024.5.14
Browse files Browse the repository at this point in the history
  • Loading branch information
ibnux committed May 14, 2024
1 parent fa45d5f commit ae3db05
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

# CHANGELOG

## 2024.5.14

- Show Plan and Location on expired list
- Customizeable payment for recharge

## 2024.5.8

- Fix bugs burst by @Gerandonk
Expand Down
15 changes: 15 additions & 0 deletions ui/ui/dashboard.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,21 @@
var latestVersion = data.version;
if (localVersion !== latestVersion) {
$('#version').html('Latest Version: ' + latestVersion);
Swal.fire({
icon: 'info',
title: "New Version Available\nVersion: "+latestVersion,
toast: true,
position: 'bottom-right',
showConfirmButton: true,
showCloseButton: true,
timer: 30000,
confirmButtonText: '<a href="{$_url}community#latestVersion" style="color: white;">Update Now</a>',
timerProgressBar: true,
didOpen: (toast) => {
toast.addEventListener('mouseenter', Swal.stopTimer)
toast.addEventListener('mouseleave', Swal.resumeTimer)
}
});
}
});
});
Expand Down
2 changes: 1 addition & 1 deletion ui/ui/sections/header.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -419,4 +419,4 @@
}
});
</script>
{/if}
{/if}
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "2024.5.8"
"version": "2024.5.14"
}

0 comments on commit ae3db05

Please sign in to comment.