@@ -67,17 +67,23 @@ |
||
67 | 67 | <?php if ($properties['author'] === true): ?> |
68 | 68 | <?php if ($model->authorId !== null && $model->authorId > 0): ?> |
69 | 69 | <span><i class="fa fa-user"></i><?= Url::link(['profile/show', $model->authorId], $model->authorName, ['itemprop' => 'author']) ?></span> |
70 | - <?php else: ?> |
|
70 | + <?php else { |
|
71 | + : ?> |
|
71 | 72 | <span><i class="fa fa-user"></i><s><?= $model->authorName ?></s></span> |
72 | - <?php endif; ?> |
|
73 | + <?php endif; |
|
74 | +} |
|
75 | +?> |
|
73 | 76 | <?php endif; ?> |
74 | 77 | <?php if ($properties['views'] === true): ?> |
75 | 78 | <span><i class="fa fa-eye"></i><?= $model->views ?></span> |
76 | 79 | <?php endif ?> |
77 | 80 | </div> |
78 | - <?php else: ?> |
|
81 | + <?php else { |
|
82 | + : ?> |
|
79 | 83 | <hr /> |
80 | - <?php endif; ?> |
|
84 | + <?php endif; |
|
85 | +} |
|
86 | +?> |
|
81 | 87 | <?php if ($trash): ?> |
82 | 88 | <p class="alert alert-danger"><i class="fa fa-trash-o"></i> <?= __('This content is placed in trash') ?></p> |
83 | 89 | <?php endif; ?> |