source: extensions/ContactForm/admin/template/cf_history.tab.tpl @ 3771

Last change on this file since 3771 was 3771, checked in by Criss, 15 years ago

Add history tab

File size: 1.0 KB
Line 
1<div class="titrePage">
2    <h2>{$CF.TITLE} [{$CF.VERSION}]<br>{'cf_history'|@translate}</h2>
3</div>
4<h3 style="width: 100%;">{'cf_history_desc'|@translate}</h3>
5<table class="table2">
6  <tr class="throw">
7    <th>{'cf_history_date'|@translate}</th>
8    <th>{'cf_history_version'|@translate}</th>
9    <th>{'cf_history_log'|@translate}</th>
10  </tr>
11{foreach from=$CF_HISTORY item=history_item name=history}
12  <tr class="{if $smarty.foreach.history.index is odd}row1{else}row2{/if}">
13    <td>
14    {if isset($history_item.DATE.FORMATTED)}
15      {$history_item.DATE.FORMATTED}
16    {else}
17      {$history_item.DATE.RAW}
18    {/if}
19    </td>
20    <td>{$history_item.VERSION}</td>
21    <td>
22    {foreach from=$history_item.CHANGES item=history_change}
23      <div>{$history_change}</div>
24    {/foreach}
25    </td>
26  </tr>
27{foreachelse}
28  <tr class="row2">
29    <td colspan="3" style="text-align: center;">
30    {foreach from=$CF_HISTORY_ERROR item=history_error}
31      <div>{$history_error}</div>
32    {/foreach}
33    </td>
34  </tr>
35{/foreach}
36</table>
Note: See TracBrowser for help on using the repository browser.