Ver código fonte

Merge pull request #1111 from kvch/searx-links-in-footer

Add links to footers of oscar and simple
Adam Tauber 7 anos atrás
pai
commit
e276d9ba3e
Nenhuma conta conectada ao e-mail do autor de commit
2 arquivos alterados com 14 adições e 2 exclusões
  1. 8
    1
      searx/templates/oscar/base.html
  2. 6
    1
      searx/templates/simple/base.html

+ 8
- 1
searx/templates/oscar/base.html Ver arquivo

@@ -87,7 +87,14 @@
87 87
         <div class="container">
88 88
             {% block footer %}
89 89
             {% endblock %}
90
-            <p class="text-muted"><small>{{ _('Powered by') }} <a href="https://asciimoo.github.io/searx/">searx</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}</small></p>
90
+            <p class="text-muted">
91
+                <small>
92
+                    {{ _('Powered by') }} <a href="https://asciimoo.github.io/searx/">searx</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}<br/>
93
+                    <a href="https://github.com/asciimoo/searx">{{ _('Source code') }}</a> |
94
+                    <a href="https://github.com/asciimoo/searx/issues">{{ _('Issue tracker') }}</a> |
95
+                    <a href="https://github.com/asciimoo/searx/wiki/Searx-instances">{{ _('Public instances') }}</a>
96
+                </small>
97
+            </p>
91 98
         </div>
92 99
     </div>
93 100
     <script src="{{ url_for('static', filename='js/jquery-1.11.1.min.js') }}"></script>

+ 6
- 1
searx/templates/simple/base.html Ver arquivo

@@ -52,7 +52,12 @@
52 52
     {% endblock %}
53 53
   </main>
54 54
   <footer>
55
-    <p>{{ _('Powered by') }} <a href="{{ url_for('about') }}">searx</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}</p>
55
+    <p>
56
+    {{ _('Powered by') }} <a href="{{ url_for('about') }}">searx</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}<br/>
57
+        <a href="https://github.com/asciimoo/searx">{{ _('Source code') }}</a> |
58
+        <a href="https://github.com/asciimoo/searx/issues">{{ _('Issue tracker') }}</a> |
59
+        <a href="https://github.com/asciimoo/searx/wiki/Searx-instances">{{ _('Public instances') }}</a>
60
+    </p>
56 61
   </footer>
57 62
   <!--[if gte IE 9]>-->
58 63
   <script src="{{ url_for('static', filename='js/searx.min.js') }}" ></script>