1
0

Added Code for Updates (Normalized Updates Table)

This commit is contained in:
2014-06-12 15:37:03 +02:00
parent d44c74e361
commit 006cf76ff9
6 changed files with 355 additions and 171 deletions

View File

@@ -44,10 +44,12 @@ if (!$model->visible && Yii::app()->user->name != 'admin') {
<td>Added:</td>
<td><?php echo TbHtml::badge($model->getDateTime()->format('d.m.Y'), array('color' => TbHtml::BADGE_COLOR_INFO)); ?></td>
</tr>
<tr>
<td>Version:</td>
<td><?php echo TbHtml::badge('????', array('color' => TbHtml::BADGE_COLOR_INFO)); ?></td>
</tr>
<?php if ($model->version != null): ?>
<tr>
<td>Version:</td>
<td><?php echo TbHtml::badge($model->version->Version, array('color' => TbHtml::BADGE_COLOR_INFO)); ?></td>
</tr>
<?php endif ?>
</table>
</div>