title = '文件收集ID ' . $model->id; $this->params['breadcrumbs'][] = ['label' => '文件收集管理', 'url' => ['collection-manage']]; $this->params['breadcrumbs'][] = $this->title; YiiAsset::register($this); $searchModel = new CollectionUploadedSearch(); $dataProvider = $searchModel->search(Yii::$app->request->queryParams); $dataProvider->query->andWhere(['task_id' => $model->id]); ?>
status != 0): ?> = Html::a('复制收集链接', null, ['class' => 'btn btn-primary', 'id' => 'copy-link-button']) ?> = Html::a('访问收集链接', ['collection/access', 'id' => $model->id, 'secret' => $model->secret], ['class' => 'btn btn-primary', 'target' => '_blank']) ?> = Html::a('取消收集', ['collection-manage-delete', 'id' => $model->id], [ 'class' => 'btn btn-danger', 'data' => [ 'confirm' => '你确定要取消这个收集任务吗?已收集的文件不会被删除', 'method' => 'post', ], ]) ?> = Html::a('复制收集链接', null, ['class' => 'btn btn-primary disabled', 'id' => 'copy-link-button', 'aria-disabled' => 'true']) ?> = Html::a('访问收集链接', null, ['class' => 'btn btn-primary disabled', 'target' => '_blank', 'aria-disabled' => 'true']) ?> = Html::a('取消收集', null, [ 'class' => 'btn btn-danger disabled', 'aria-disabled' => 'true' ]) ?>
= DetailView::widget([ 'model' => $model, 'attributes' => [ 'id', 'folder_path', 'created_at', 'secret', ], ]) ?>