[fix] static path fixed in templates and webapp, line endings fixed

This commit is contained in:
misnyo 2017-09-08 20:33:14 +02:00
parent f4df27fa59
commit ae99f9070c
5 changed files with 112 additions and 113 deletions

View file

@ -8,9 +8,8 @@
{%- endmacro %}
<!-- Draw favicon -->
<!-- TODO: using url_for methode -->
{% macro draw_favicon(favicon) -%}
<img width="14" height="14" class="favicon" src="static/themes/simple/img/icons/{{ favicon }}.png" alt="{{ favicon }}" />
<img width="14" height="14" class="favicon" src="{{ url_for('static', filename='/themes/simple/img/icons/' + favicon + '.png') }}" alt="{{ favicon }}" />
{%- endmacro %}
{% macro result_open_link(url, classes='') -%}