diff options
| author | Alexandre Flament <alex@al-f.net> | 2016-10-22 14:25:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-22 14:25:50 +0200 |
| commit | a88768efd8ee6b832febda8508cb1ba3c8778b94 (patch) | |
| tree | a42f1078ce421a69edb7088c642461b6c05f7022 /searx/templates/oscar/macros.html | |
| parent | f90eb428c679d3852d9738f6279d045283340562 (diff) | |
| parent | 85c7237a4f26cea523d5c3b8a863058e459ca07a (diff) | |
Merge branch 'master' into http1.1
Diffstat (limited to 'searx/templates/oscar/macros.html')
| -rw-r--r-- | searx/templates/oscar/macros.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/searx/templates/oscar/macros.html b/searx/templates/oscar/macros.html index 06881db02..221300fe4 100644 --- a/searx/templates/oscar/macros.html +++ b/searx/templates/oscar/macros.html @@ -33,6 +33,9 @@ <span class="label label-default">{{ engine }}</span>
{% endfor %}
<small>{{ result_link("https://web.archive.org/web/" + result.url, icon('link') + _('cached'), "text-info") }}</small>
+ {% if proxify %}
+ <small>{{ result_link(proxify(result.url), icon('sort') + _('proxied'), "text-info") }}</small>
+ {% endif %}
</div>
<div class="text-muted"><small>{{ result.pretty_url }}</small></div>
{%- endmacro %}
@@ -44,6 +47,9 @@ <span class="label label-default">{{ engine }}</span>
{% endfor %}
<small>{{ result_link("https://web.archive.org/web/" + result.url, icon('link') + _('cached'), "text-info") }}</small>
+ {% if proxify %}
+ <small>{{ result_link(proxify(result.url), icon('sort') + _('proxied'), "text-info") }}</small>
+ {% endif %}
<div class="text-muted"><small>{{ result.pretty_url }}</small></div>
{%- endmacro %}
|