예제 #1
0
파일: list.php 프로젝트: meolu/walle-web
        ?>
                                   type="checkbox" data-id="<?php 
        echo $item['id'];
        ?>
">
                            <span class="lbl"></span>
                        </label>
                    <?php 
    }
    ?>
                    <?php 
    if ($item['user_id'] == \Yii::$app->user->id) {
        ?>
                        <!-- 通过审核可以上线的任务-->
                        <?php 
        if (Task::canDeploy($item['status'])) {
            ?>
                            <a href="<?php 
            echo Url::to("@web/walle/deploy?taskId={$item['id']}");
            ?>
" class="green">
                                <i class="icon-cloud-upload text-success bigger-130" data-id="<?php 
            echo $item['id'];
            ?>
"></i>
                                <?php 
            echo yii::t('task', 'deploy');
            ?>
                            </a>
                        <?php 
        }