You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
399 B
18 lines
399 B
11 years ago
|
<?php
|
||
|
/**
|
||
|
* @var yii\base\View $this
|
||
|
* @var mixed $diff
|
||
|
*/
|
||
|
?>
|
||
|
<div class="default-diff">
|
||
|
<?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">
|
||
|
<pre><?php echo $diff; ?></pre>
|
||
|
</div>
|
||
|
<?php endif; ?>
|
||
|
</div>
|