mirror of
https://github.com/YunoHost-Apps/domoticz_ynh.git
synced 2024-09-03 18:26:17 +02:00
32 lines
2.4 KiB
Diff
32 lines
2.4 KiB
Diff
--- a/www/index.html 2023-02-26 22:22:14.971932399 +0100
|
|
+++ b/www/index.html 2023-02-26 22:27:12.926431427 +0100
|
|
@@ -170,14 +170,15 @@
|
|
}
|
|
|
|
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") {
|
|
+ <!--if (SystemName=="windows") {
|
|
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>';
|
|
- }
|
|
+ }-->
|
|
generate_noty('success', msgtxt, false);
|
|
}
|
|
|
|
@@ -1330,8 +1331,8 @@
|
|
<li ng-class="{'current_page_item':getClass('/Devices')}" id="mDevices"><a id="cDevices" href="#Devices"><img src="images/devices.png"> <span data-i18n="Devices">Devices</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">
|