diff.php 400 Bytes
Newer Older
Qiang Xue committed
1
<?php
2 3
/* @var $this yii\web\View */
/* @var $diff mixed */
Qiang Xue committed
4 5
?>
<div class="default-diff">
6 7 8 9 10 11 12
    <?php if ($diff === false): ?>
        <div class="alert alert-danger">Diff is not supported for this file type.</div>
    <?php elseif (empty($diff)): ?>
        <div class="alert alert-success">Identical.</div>
    <?php else: ?>
        <div class="content"><?= $diff ?></div>
    <?php endif; ?>
Qiang Xue committed
13
</div>