#11409 update online fix styles

This commit is contained in:
Jonathan 2023-05-30 17:41:34 +02:00
parent 13725892f9
commit 71d196778b
3 changed files with 13 additions and 1 deletions

View File

@ -481,7 +481,7 @@ class Manager
if (count($updates) > 0) {
$next = $updates[0];
$return = '<p><b>'.\__('Next update').':</b><span id="next-version">';
$return = '<p><b>'.\__('Next update').': </b><span id="next-version" onclick="changelog()" style="cursor:pointer">';
$return .= $next['version'].'</span>';
$return .= ' - <a id="um-package-details-next" ';
$return .= ' class="um-package-details" ';

View File

@ -480,6 +480,10 @@ function umShowUpdateDetails(update) {
}
}
function changelog() {
window.open("https://pandorafms.com/en/changelog/", "_blank").focus();
}
function umToggleUpdateList() {
if (typeof toggleUpdateList == "function") {
toggleUpdateList();

View File

@ -569,3 +569,11 @@ a.update_manager_button_open {
color: #82b92e;
border-radius: 2px;
}
#um-updates {
width: 300px;
}
#next-version:hover {
font-weight: bolder;
}