forked from Ponysearch/Ponysearch
77ba28cf50
- Pull the suggestions to the right in oscar - Add `‎` to a few places to print good url - Always LTR code display - Order pref label and info in pref for mobile view And add `sort` for ui languages and languages to find them more easily.
18 lines
633 B
HTML
18 lines
633 B
HTML
{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, result_footer_rtl, icon %}
|
|
|
|
{{ result_header(result, favicons) }}
|
|
{{ result_sub_header(result) }}
|
|
|
|
{% 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 %}
|
|
|
|
<div dir="ltr">
|
|
{{ result.codelines|code_highlighter(result.code_language)|safe }}
|
|
</div>
|
|
|
|
{% if rtl %}
|
|
{{ result_footer_rtl(result) }}
|
|
{% else %}
|
|
{{ result_footer(result) }}
|
|
{% endif %}
|