Skip to content

Commit

Permalink
Ticket detail view - added duration formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverFire committed Sep 7, 2015
1 parent bb7f974 commit e60da36
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/views/ticket/_advanced_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,10 @@
<?= $model->getAttributeLabel('responsible_id') ?>
</li>*/ ?>
<li class="list-group-item">
<span class="badge"><?= $model->elapsed ?></span>
<span class="badge"><?= Yii::t('app', '{0, duration}', (int)$model->elapsed) ?></span>
<?= Yii::t('app', 'Spend time') ?>
</li>
</ul>


<?php endif; ?>

<!-- Watchers -->
Expand Down

0 comments on commit e60da36

Please sign in to comment.