From 12ec0dfe3cb9d960aabed5d1c92ded7c0a745b02 Mon Sep 17 00:00:00 2001
From: Joas Schilling
Date: Tue, 10 May 2016 11:04:24 +0200
Subject: [PATCH] The setting only affects available core updates
---
apps/updatenotification/js/admin.js | 4 ++--
apps/updatenotification/templates/admin.php | 6 +++++-
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/apps/updatenotification/js/admin.js b/apps/updatenotification/js/admin.js
index e5c942fbda..3ca45a191d 100644
--- a/apps/updatenotification/js/admin.js
+++ b/apps/updatenotification/js/admin.js
@@ -44,9 +44,9 @@ $(document).ready(function(){
var newChannel = $('#release-channel').find(":selected").val();
if (newChannel === 'git' || newChannel === 'daily') {
- $('#oca_updatenotification_groups').addClass('hidden');
+ $('#oca_updatenotification_groups em').removeClass('hidden');
} else {
- $('#oca_updatenotification_groups').removeClass('hidden');
+ $('#oca_updatenotification_groups em').addClass('hidden');
}
$.post(
diff --git a/apps/updatenotification/templates/admin.php b/apps/updatenotification/templates/admin.php
index e74ed23a94..5974b106f7 100644
--- a/apps/updatenotification/templates/admin.php
+++ b/apps/updatenotification/templates/admin.php
@@ -41,9 +41,13 @@
-
+
t('Notify members of the following groups about available updates:')); ?>
+
+
+ t('Only notification for app updates are available, because the selected update channel for ownCloud itself does not allow notifications.')); ?>
+