oscar template: improve result icons

This commit is contained in:
Thomas Pointhuber 2014-10-03 13:16:30 +02:00
parent c25aab73b7
commit 517e57b996
29 changed files with 13 additions and 11 deletions

View file

@ -1,8 +1,8 @@
<h3><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
<h3>{% if result['favicon'] %}<img width="32" height="32" class="favicon" src="static/{{ theme }}/img/icons/{{ result['favicon'] }}.png" /> {% endif %}<a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
{% if result.publishedDate %}<time class="text-muted" datetime="{{ result.publishedDate }}" pubdate>{{ result.publishedDate }}</time>{% endif %}
{% if result.content %}<p>{{ result.content|safe }}</p>{% endif %}
<span class="label label-default pull-right">{{ result.engine }}</span>
<p class="text-muted">{% if result['favicon'] %}<img width="14" height="14" class="favicon" src="static/{{ theme }}/img/icon_{{ result['favicon'] }}.ico" />{% endif %} {{ result.pretty_url }}</p>
<p class="text-muted">{{ result.pretty_url }}</p>