~eventum-developers/eventum/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{extends "base.tpl.html"}
{block "page_id"}history{/block}
{block "title"}#{$issue_id} - History{/block}

{block "content"}
  <table class="bordered grid">
    <tr class="title">
      <th colspan="2">
        {t}History of Changes to Issue{/t} #{$issue_id}
      </th>
    </tr>
    <tr>
        <th>{t}Date{/t}</th>
        <th width="70%">{t}Summary{/t}</th>
      </tr>
      {section name="i" loop=$changes}
      <tr class="{cycle values='odd,even'}">
        <th {if $changes[i].htt_role > $core.roles.customer}class="internal"{/if} nowrap>
          {$changes[i].his_created_date}
        </th>
        <td width="85%">
          {$changes[i].his_summary|activateLinks|replace:"no value set":"<i>no value set</i>"}
        </td>
      </tr>
      {sectionelse}
      <tr>
        <td colspan="2" align="center">
          <i>{t}No changes could be found.{/t}</i>
        </td>
      </tr>
      {/section}
      <tr class="buttons">
        <td colspan="2">
          <input type="button" value="{t}Close{/t}" class="close_window">
        </td>
      </tr>
  </table>

{if $core.current_role > $core.roles.customer}
  <table class="bordered grid internal">
    <tr>
      <th colspan="2">
        {t}History of Reminders Triggered for Issue{/t} #{$smarty.get.iss_id}
      </th>
    </tr>
    <tr>
        <th>{t}Date{/t}</th>
        <th width="70%">{t}Triggered Action{/t}</th>
      </tr>
      {section name="i" loop=$reminders}
      <tr class="{cycle values='odd,even'}">
        <td nowrap>
          {$reminders[i].rmh_created_date}
        </td>
        <td width="85%">
          {$reminders[i].rma_title|escape:"html"}
        </td>
      </tr>
      {sectionelse}
      <tr class="no_results">
        <td colspan="2">
          {t}No reminders could be found.{/t}
        </td>
      </tr>
      {/section}
      <tr class="buttons">
        <td colspan="2">
          <input type="button" value="{t}Close{/t}" class="close_window">
        </td>
    </tr>
</table>
{/if}
{/block}