mirror of
https://github.com/YunoHost-Apps/domoticz_ynh.git
synced 2024-09-03 18:26:17 +02:00
31 lines
2.6 KiB
Diff
31 lines
2.6 KiB
Diff
--- a/www/index.html 2024-01-24 12:00:41.000000000 +0100
|
|
+++ b/www/index.html 2024-01-26 00:56:22.766868427 +0100
|
|
@@ -154,13 +154,14 @@
|
|
}
|
|
|
|
function ShowUpdateNotification(Revision, SystemName, DownloadURL) {
|
|
- var msgtxt=$.t('A new version of Domoticz is Available!...');
|
|
+ <!--var msgtxt=$.t('A new version of Domoticz is Available!...');-->
|
|
+ var msgtxt=$.t('A new version of Domoticz is Available, please wait for the YunoHost Package!...');
|
|
msgtxt+='<br>' + $.t('Version') + ': <b>' + Revision + '</b>, ' + $.t('Latest Changes') + ': <b><a class="norm-link" onclick="ShowLatestHistory();">' + $.t('Click Here') + '</a></b>';
|
|
if (SystemName=="windows") {
|
|
- msgtxt+='<br><center><a class="btn btn-danger" onclick="WindowsDownloadURL(\'' + DownloadURL + '\')">' + $.t('Update Now') + '</a></center>';
|
|
+<!-- msgtxt+='<br><center><a class="btn btn-danger" onclick="WindowsDownloadURL(\'' + DownloadURL + '\')">' + $.t('Update Now') + '</a></center>';-->
|
|
}
|
|
else {
|
|
- msgtxt+='<br><center><a class="btn btn-danger" onclick="SwitchLayout(\'Update\');">' + $.t('Update Now') + '</a></center>';
|
|
+<!-- msgtxt+='<br><center><a class="btn btn-danger" onclick="SwitchLayout(\'Update\');">' + $.t('Update Now') + '</a></center>';-->
|
|
}
|
|
generate_noty('success', msgtxt, false);
|
|
}
|
|
@@ -1264,8 +1265,8 @@
|
|
<li ng-class="{'current_page_item':getClass('/Users')}" id="mUsers"><a id="cUsers" href="#Users"><img src="images/users.png"> <span data-i18n="Users">Users</span></a></li>
|
|
<li ng-class="{'current_page_item':getClass('/Setup')}" id="mSetup"><a id="cSetup" href="#Setup"><img src="images/setup.png"> <span data-i18n="Settings">Settings</span></a></li>
|
|
<li id="dUpdate" class="divider"></li>
|
|
- <li ng-show="config.HaveUpdate && config.UseUpdate"><a href="#Update"><img src="images/update.png"> <span data-i18n="Update Domoticz">Update Domoticz</span></a></li>
|
|
- <li ng-show="!config.HaveUpdate && config.UseUpdate"><a class="lcursor" onclick="javascript:CheckForUpdate(true)"><img src="images/update.png"> <span data-i18n="Check for Update">Check for Update</span></a></li>
|
|
+<!-- <li ng-show="config.HaveUpdate && config.UseUpdate"><a href="#Update"><img src="images/update.png"> <span data-i18n="Update Domoticz">Update Domoticz</span></a></li>
|
|
+ <li ng-show="!config.HaveUpdate && config.UseUpdate"><a class="lcursor" onclick="javascript:CheckForUpdate(true)"><img src="images/update.png"> <span data-i18n="Check for Update">Check for Update</span></a></li>-->
|
|
<li class="dropdown-submenu">
|
|
<a id="cMoreOptions" tabindex="-1" data-i18n="More options">More options</a>
|
|
<ul class="dropdown-menu pull-left">
|