mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-20 13:31:04 +01:00
Update edit.php
This commit is contained in:
parent
d23788ca8b
commit
5e66283d09
@ -173,7 +173,7 @@ function search(button) {
|
|||||||
if (data === "none" || !data) {
|
if (data === "none" || !data) {
|
||||||
$("#update-search").html("'.tr('Nessun aggiornamento disponibile').'.");
|
$("#update-search").html("'.tr('Nessun aggiornamento disponibile').'.");
|
||||||
} else {
|
} else {
|
||||||
let beta_warning = data.includes("beta") ? "<br><b>'.tr('Attenzione: la versione individuata è in fase sperimentale, e pertanto può presentare diversi bug e malfunzionamenti').'.</b>" : "";
|
let beta_warning = data.includes("beta") ? "<br><b class="text-danger">'.tr('Attenzione: la versione individuata è in fase sperimentale, e pertanto può presentare diversi bug e malfunzionamenti').'.</b>" : "";
|
||||||
$("#update-search").html("'.tr("E' stato individuato un nuovo aggiornamento").': " + data + "." + beta_warning + "<br>'.tr('Scaricalo ora: _LINK_', [
|
$("#update-search").html("'.tr("E' stato individuato un nuovo aggiornamento").': " + data + "." + beta_warning + "<br>'.tr('Scaricalo ora: _LINK_', [
|
||||||
'_LINK_' => "<a target='_blank' href='https://github.com/devcode-it/openstamanager/releases'>https://github.com/devcode-it/openstamanager/releases</a>",
|
'_LINK_' => "<a target='_blank' href='https://github.com/devcode-it/openstamanager/releases'>https://github.com/devcode-it/openstamanager/releases</a>",
|
||||||
]).'");
|
]).'");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user