mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
38 lines
1.4 KiB
Twig
38 lines
1.4 KiB
Twig
<br/>
|
|
<table border="0" cellspacing="1" cellpadding="4" width="100%">
|
|
<tr bgcolor="{{ config.vdarkborder }}">
|
|
<td width="22"><font class="white"><b>Type</b></font></td>
|
|
<td width="22"><font class="white"><b>Where</b></font></td>
|
|
<td width="50"><font class="white"><b>Date</b></font></td>
|
|
<td><font class="white"><b>Description</b></font></td>
|
|
</tr>
|
|
{% if changelogs|length > 0%}
|
|
{% set i = 0 %}
|
|
{% for log in changelogs %}
|
|
<tr bgcolor="{{ getStyle(i) }}">
|
|
<td align="center">
|
|
<img src="images/changelog/{{ log.type }}.png" title="{{ log.type|capitalize }}"/>
|
|
</td>
|
|
<td align="center">
|
|
<img src="images/changelog/{{ log.where }}.png" title="{{ log.where|capitalize }}"/>
|
|
</td>
|
|
<td>{{ log.date|date("j.m.Y") }}</td>
|
|
<td>{{ log.body|raw }}</td>
|
|
</tr>
|
|
{% set i = i + 1 %}
|
|
{% endfor %}
|
|
{% else %}
|
|
<tr>
|
|
<td colspan="4" bgcolor="{{ config.darkborder }}">There are no changelogs for the moment.</td>
|
|
</tr>
|
|
{% endif %}
|
|
|
|
<table border="0" cellspacing="1" cellpadding="4" width="100%">
|
|
{% if page > 0 %}
|
|
<tr><td width="100%" align="right" valign="bottom"><a href="{{ getLink('changelog/' ~ (page - 1)) }}" class="size_xxs">Previous Page</a></td></tr>
|
|
{% endif %}
|
|
{% if next_page %}
|
|
<tr><td width="100%" align="right" valign="bottom"><a href="{{ getLink('changelog/' ~ (page + 1)) }}" class="size_xxs">Next Page</a></td></tr>
|
|
{% endif %}
|
|
</table>
|
|
</table> |