Use BASE_URL instead of template_path for icons

Cause they are located in images/news folder
This commit is contained in:
slawkens
2021-01-04 16:35:01 +01:00
parent 02d6ab5fe7
commit d5880eac8c
6 changed files with 11 additions and 11 deletions

View File

@@ -9,7 +9,7 @@
<tr bgcolor="{{ getStyle(i) }}">
<td width=4%>
<div style="text-align:center">
<img src="{{ template_path }}/images/news/icon_{{ news.icon_id }}_small.gif"/>
<img src="{{ constant('BASE_URL') }}images/news/icon_{{ news.icon_id }}_small.gif"/>
</div>
</td>
<td>{{ news.date|date('j.n.Y') }}</td>
@@ -18,4 +18,4 @@
</td>
</tr>
{% endfor %}
</table>
</table>