~eventum-developers/eventum/trunk

4429.1.12 by Bryan Alsdorf
Mass removal of outdated template code.
1
{extends "base.tpl.html"}
2
{block "page_id"}history{/block}
3
{block "title"}#{$issue_id} - History{/block}
2798 by mysql.com!bryan
Rename: templates/en/history.tpl.html -> templates/history.tpl.html
4
4429.1.12 by Bryan Alsdorf
Mass removal of outdated template code.
5
{block "content"}
6
  <table class="bordered grid">
7
    <tr class="title">
8
      <th colspan="2">
9
        {t}History of Changes to Issue{/t} #{$issue_id}
10
      </th>
11
    </tr>
12
    <tr>
13
        <th>{t}Date{/t}</th>
14
        <th width="70%">{t}Summary{/t}</th>
15
      </tr>
16
      {section name="i" loop=$changes}
17
      <tr class="{cycle values='odd,even'}">
4033.12.1 by Bryan Alsdorf
First merge
18
        <th {if $changes[i].htt_role > $core.roles.customer}class="internal"{/if} nowrap>
4429.1.12 by Bryan Alsdorf
Mass removal of outdated template code.
19
          {$changes[i].his_created_date}
4033.12.1 by Bryan Alsdorf
First merge
20
        </th>
4429.1.12 by Bryan Alsdorf
Mass removal of outdated template code.
21
        <td width="85%">
5294 by Elan Ruusamäe
move history entry escape to template
22
          {$changes[i].his_summary|activateLinks|replace:"no value set":"<i>no value set</i>"}
4429.1.12 by Bryan Alsdorf
Mass removal of outdated template code.
23
        </td>
24
      </tr>
25
      {sectionelse}
26
      <tr>
27
        <td colspan="2" align="center">
28
          <i>{t}No changes could be found.{/t}</i>
29
        </td>
30
      </tr>
31
      {/section}
32
      <tr class="buttons">
33
        <td colspan="2">
34
          <input type="button" value="{t}Close{/t}" class="close_window">
35
        </td>
36
      </tr>
37
  </table>
2798 by mysql.com!bryan
Rename: templates/en/history.tpl.html -> templates/history.tpl.html
38
4429.1.4 by Bryan Alsdorf
Merged changes back from trunk
39
{if $core.current_role > $core.roles.customer}
4429.1.12 by Bryan Alsdorf
Mass removal of outdated template code.
40
  <table class="bordered grid internal">
41
    <tr>
42
      <th colspan="2">
43
        {t}History of Reminders Triggered for Issue{/t} #{$smarty.get.iss_id}
44
      </th>
45
    </tr>
46
    <tr>
47
        <th>{t}Date{/t}</th>
48
        <th width="70%">{t}Triggered Action{/t}</th>
49
      </tr>
50
      {section name="i" loop=$reminders}
51
      <tr class="{cycle values='odd,even'}">
52
        <td nowrap>
53
          {$reminders[i].rmh_created_date}
54
        </td>
55
        <td width="85%">
56
          {$reminders[i].rma_title|escape:"html"}
57
        </td>
58
      </tr>
59
      {sectionelse}
60
      <tr class="no_results">
61
        <td colspan="2">
62
          {t}No reminders could be found.{/t}
63
        </td>
64
      </tr>
65
      {/section}
66
      <tr class="buttons">
67
        <td colspan="2">
68
          <input type="button" value="{t}Close{/t}" class="close_window">
69
        </td>
70
    </tr>
2798 by mysql.com!bryan
Rename: templates/en/history.tpl.html -> templates/history.tpl.html
71
</table>
72
{/if}
5294 by Elan Ruusamäe
move history entry escape to template
73
{/block}