The setting only affects available core updates
This commit is contained in:
parent
823e4911c9
commit
12ec0dfe3c
|
@ -44,9 +44,9 @@ $(document).ready(function(){
|
||||||
var newChannel = $('#release-channel').find(":selected").val();
|
var newChannel = $('#release-channel').find(":selected").val();
|
||||||
|
|
||||||
if (newChannel === 'git' || newChannel === 'daily') {
|
if (newChannel === 'git' || newChannel === 'daily') {
|
||||||
$('#oca_updatenotification_groups').addClass('hidden');
|
$('#oca_updatenotification_groups em').removeClass('hidden');
|
||||||
} else {
|
} else {
|
||||||
$('#oca_updatenotification_groups').removeClass('hidden');
|
$('#oca_updatenotification_groups em').addClass('hidden');
|
||||||
}
|
}
|
||||||
|
|
||||||
$.post(
|
$.post(
|
||||||
|
|
|
@ -41,9 +41,13 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<p id="oca_updatenotification_groups" class="<?php if (in_array($currentChannel, ['daily', 'git'])) p('hidden'); ?>">
|
<p id="oca_updatenotification_groups">
|
||||||
<br />
|
<br />
|
||||||
<?php p($l->t('Notify members of the following groups about available updates:')); ?>
|
<?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">
|
<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>
|
</p>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in New Issue