The setting only affects available core updates

This commit is contained in:
Joas Schilling 2016-05-10 11:04:24 +02:00
parent 823e4911c9
commit 12ec0dfe3c
No known key found for this signature in database
GPG Key ID: 70A0B324C41C0946
2 changed files with 7 additions and 3 deletions

View File

@ -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(

View File

@ -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>