2014-12-22 16:07:02 +01:00
|
|
|
{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, icon %}
|
2014-12-20 23:33:03 +01:00
|
|
|
|
2014-12-22 16:07:02 +01:00
|
|
|
{{ result_header(result) }}
|
|
|
|
{{ result_sub_header(result) }}
|
2014-12-20 23:33:03 +01:00
|
|
|
|
|
|
|
{% if result.content %}<p class="result-content">{{ result.content|safe }}</p>{% endif %}
|
|
|
|
|
|
|
|
{% if result.repository %}<p class="result-content">{{ icon('file') }} <a href="{{ result.repository|safe }}">{{ result.repository }}</a></p>{% endif %}
|
|
|
|
|
|
|
|
{{ result.codelines|code_highlighter(result.code_language)|safe }}
|
|
|
|
|
2014-12-22 16:07:02 +01:00
|
|
|
{{ result_footer(result) }}
|