Browse Source

Update files.php

tags/2.0.0-beta
Thiago Talma 11 years ago
parent
commit
3f25bc9408
  1. 2
      extensions/gii/views/default/view/files.php

2
extensions/gii/views/default/view/files.php

@ -48,7 +48,7 @@ use yii\gii\CodeFile;
<td class="file">
<?= 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', 'id'=>$id, 'file' => $file->id], ['class' => 'diff-code label label-warning', 'data-title' => $file->getRelativePath()]) ?>
<?= Html::a('diff', ['diff', 'id' => $id, 'file' => $file->id], ['class' => 'diff-code label label-warning', 'data-title' => $file->getRelativePath()]) ?>
<?php endif; ?>
</td>
<td class="action">

Loading…
Cancel
Save