#11409 update online fix styles
This commit is contained in:
parent
13725892f9
commit
71d196778b
|
@ -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" ';
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -569,3 +569,11 @@ a.update_manager_button_open {
|
|||
color: #82b92e;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
#um-updates {
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
#next-version:hover {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue