<td> <?php if ($row['status'] == 200) { echo '<span class="label label-success arrowed">Active</span>'; } else { echo '<span class="label label-warning">Disable</span>'; } ?> </td> <td> <div class="hidden-sm hidden-xs action-buttons"> <?php if (YiiForum::checkAccess('role_set-user')) { ?> <a title="<?php echo Yii::t('app', 'Set Role'); ?> " class="green" href="<?php echo Url::to(['role/set-user', 'id' => $row['user_id']]); ?> "> <i class="ace-icon fa fa-plus-circle bigger-130"></i> </a> <?php } ?> </div> </td>
if (YiiForum::checkAccess('role_update')) { ?> <a title="<?php echo Yii::t('app', 'Update'); ?> " class="green" href="<?php echo Url::to(['role/update', 'id' => $row['name']]); ?> "> <i class="ace-icon fa fa-pencil bigger-130"></i> </a> <?php } ?> <?php if (YiiForum::checkAccess('role_delete')) { ?> <a title="<?php echo Yii::t('app', 'Delete'); ?> " class="red" href="<?php echo Url::to(['role/delete', 'id' => $row['name']]); ?> "> <i class="ace-icon fa fa-trash-o bigger-130"></i> </a> <?php } ?> </div> </td>