mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-19 20:13:27 +02:00
Use BASE_URL instead of template_path for icons
Cause they are located in images/news folder
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
{% for ticker in tickers %}
|
||||
<div id="TickerEntry-{{ i }}" class="Row" onclick='TickerAction("TickerEntry-{{ i }}")'>
|
||||
<div class="{% if (i / 2) matches '/^\\d+$/' %}Odd{% else %}Even{% endif %}">
|
||||
<div class="NewsTickerIcon" style="background-image: url({{ template_path }}/images/news/icon_{{ ticker.icon }}_small.gif);"></div>
|
||||
<div class="NewsTickerIcon" style="background-image: url({{ constant('BASE_URL') }}images/news/icon_{{ ticker.icon }}_small.gif);"></div>
|
||||
<div id="TickerEntry-{{ i }}-Button" class="NewsTickerExtend" style="background-image: url({{ template_path }}/images/general/plus.gif);"></div>
|
||||
<div class="NewsTickerText">
|
||||
<span class="NewsTickerDate">{{ ticker.date|date("j M Y") }} -</span>
|
||||
@@ -45,4 +45,4 @@
|
||||
<div class="Border_1" style="background-image: url({{ template_path }}/images/content/border-1.gif);"></div>
|
||||
<div class="CornerWrapper-b"><div class="Corner-bl" style="background-image: url({{ template_path }}/images/content/corner-bl.gif);"></div></div>
|
||||
<div class="CornerWrapper-b"><div class="Corner-br" style="background-image: url({{ template_path }}/images/content/corner-br.gif);"></div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user