summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-05-10 11:04:24 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2016-05-24 11:26:54 +0200
commit12ec0dfe3cb9d960aabed5d1c92ded7c0a745b02 (patch)
treee99f1c352e33e07dd02331184360683b69c5eeba /apps
parent823e4911c9c543abf7143fbbe2287b5cd5f139ca (diff)
downloadnextcloud-server-12ec0dfe3cb9d960aabed5d1c92ded7c0a745b02.tar.gz
nextcloud-server-12ec0dfe3cb9d960aabed5d1c92ded7c0a745b02.zip
The setting only affects available core updates
Diffstat (limited to 'apps')
-rw-r--r--apps/updatenotification/js/admin.js4
-rw-r--r--apps/updatenotification/templates/admin.php6
2 files changed, 7 insertions, 3 deletions
diff --git a/apps/updatenotification/js/admin.js b/apps/updatenotification/js/admin.js
index e5c942fbdab..3ca45a191d4 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 e74ed23a94c..5974b106f72 100644
--- a/apps/updatenotification/templates/admin.php
+++ b/apps/updatenotification/templates/admin.php
@@ -41,9 +41,13 @@
</p>
- <p id="oca_updatenotification_groups" class="<?php if (in_array($currentChannel, ['daily', 'git'])) p('hidden'); ?>">
+ <p id="oca_updatenotification_groups">
<br />
<?php p($l->t('Notify members of the following groups about available updates:')); ?>
<input name="oca_updatenotification_groups_list" type="hidden" id="oca_updatenotification_groups_list" value="<?php p($_['notify_groups']) ?>" style="width: 400px">
+ <em class="<?php if (!in_array($currentChannel, ['daily', 'git'])) p('hidden'); ?>">
+ <br />
+ <?php p($l->t('Only notification for app updates are available, because the selected update channel for ownCloud itself does not allow notifications.')); ?>
+ </em>
</p>
</form>