Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a531d37a authored by Florent VINCENT's avatar Florent VINCENT 👾
Browse files

Merge branch 'nicofonk/fix_pagination_links' into 'master'

Nicofonk/fix pagination links

See merge request e/cloud/my-spot!61
parents 13d21226 4c9aaad6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ include utils/makefile.include
PYOBJECTS = searx
DOC       = docs
PY_SETUP_EXTRAS ?= \[test\]
PYLINT_SEARX_DISABLE_OPTION := I,C,R,W0105,W0212,W0511,W0603,W0613,W0621,W0702,W0703,W1401,E1136,W0707
PYLINT_SEARX_DISABLE_OPTION := I,C,R,W0105,W0212,W0511,W0603,W0613,W0621,W0702,W0703,W1401,E1136,W0707,E0237
PYLINT_ADDITIONAL_BUILTINS_FOR_ENGINES := supported_languages,language_aliases

include utils/makefile.python
+2 −2
Original line number Diff line number Diff line
@@ -98,11 +98,11 @@
                {%- endmacro %}

                <div id="pagination" {% if rtl %} class="rtl" {% endif %} >
                    <form method="{{ method or 'POST' }}" action="{{ url_for('index') }}">
                    <form method="{{ method or 'POST' }}" action="{{ url_for('search') }}">
                        {{ search_form_attrs(pageno - 1) }}
                        <button type="submit" class="btn btn-default" {% if pageno == 1 %}disabled{% endif %}><span class="glyphicon glyphicon-forward"></span> {{ _('previous page') }}</button>
                    </form>
                    <form method="{{ method or 'POST' }}" action="{{ url_for('index') }}">
                    <form method="{{ method or 'POST' }}" action="{{ url_for('search') }}">
                        {{ search_form_attrs(pageno + 1) }}
                        <button type="submit" class="btn primary"><span class="glyphicon glyphicon-backward"></span> {{ _('next page') }}</button>
                    </form>