ui(governance): add go-syncable shortcut in batch activate blocked hint
This commit is contained in:
@@ -916,7 +916,19 @@
|
||||
<div class="mt-6">
|
||||
<button class="btn btn-sm" type="submit" @disabled($batchActivateBlocked) title="{{ $batchActivateBlockedReason }}">批量同步订阅(当前筛选范围)</button>
|
||||
@if($batchActivateBlocked)
|
||||
<div class="adm-tool-blocked-hint" data-role="batch-activate-subscriptions-blocked-hint">提示:{{ $batchActivateBlockedReason }}</div>
|
||||
<div class="adm-tool-blocked-hint" data-role="batch-activate-subscriptions-blocked-hint">
|
||||
<div>提示:{{ $batchActivateBlockedReason }}</div>
|
||||
@php
|
||||
// 提效:被阻断时给一键跳转到「可同步订阅集合」(口径:syncable_only=1 + sync_status=unsynced)。
|
||||
$goSyncableUrl = $buildQuickFilterUrl([
|
||||
'syncable_only' => '1',
|
||||
'sync_status' => 'unsynced',
|
||||
]);
|
||||
@endphp
|
||||
<div class="mt-6 actions gap-10">
|
||||
<a class="btn btn-secondary btn-sm" href="{!! $goSyncableUrl !!}">切到可同步订阅集合</a>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user