mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-13 04:38:03 +08:00
CS Fix
This commit is contained in:
@@ -46,7 +46,7 @@ use yii\gii\CodeFile;
|
||||
?>
|
||||
<tr class="<?= "$file->operation $trClass" ?>">
|
||||
<td class="file">
|
||||
<?= Html::a(Html::encode($file->getRelativePath()), ['preview', 'id'=>$id, 'file' => $file->id], ['class' => 'preview-code', 'data-title' => $file->getRelativePath()]) ?>
|
||||
<?= Html::a(Html::encode($file->getRelativePath()), ['preview', 'id' => $id, 'file' => $file->id], ['class' => 'preview-code', 'data-title' => $file->getRelativePath()]) ?>
|
||||
<?php if ($file->operation === CodeFile::OP_OVERWRITE): ?>
|
||||
<?= Html::a('diff', ['diff', 'file' => $file->id], ['class' => 'diff-code label label-warning', 'data-title' => $file->getRelativePath()]) ?>
|
||||
<?php endif; ?>
|
||||
|
||||
Reference in New Issue
Block a user