1. libgd
  2. Untitled project
  3. gd-websites

Source

gd-websites / issuetracker / templates / details.tabs.history.callback.tpl

<?php if ($details && count($histories)): ?>
<table class="history">
  <tr>
    <th>{L('previousvalue')}</th>
    <th>{L('newvalue')}</th>
  </tr>
  <tr>
    <td>{!$details_previous}</td>
    <td>{!$details_new}</td>
  </tr>
</table>
<?php else: ?>
<table class="history">
  <tr>
    <th>{L('eventdate')}</th>
    <th>{L('user')}</th>
    <th>{L('event')}</th>
  </tr>

  <?php foreach($histories as $history): ?>
  <tr>
    <td>{formatDate($history['event_date'], false)}</td>
    <td>{!tpl_userlink($history['user_id'])}</td>
    <td>{!event_description($history)}</td>
  </tr>
  <?php endforeach; ?>
</table>
<?php endif; ?>