diff options
author | Daniel Schadt <kingdread@gmx.de> | 2022-07-30 23:16:41 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2022-07-30 23:16:41 +0200 |
commit | 10bd43b2948fa1d837ee8878e69c46d9f3e74792 (patch) | |
tree | 0ee4d6daaeaefad919933e2f46f202e03ed247b6 | |
parent | 0f307bba4b74867e054fb9c7fc6679125677aad0 (diff) | |
download | fietsboek-10bd43b2948fa1d837ee8878e69c46d9f3e74792.tar.gz fietsboek-10bd43b2948fa1d837ee8878e69c46d9f3e74792.tar.bz2 fietsboek-10bd43b2948fa1d837ee8878e69c46d9f3e74792.zip |
add a button to clear all filters
-rw-r--r-- | fietsboek/locale/de/LC_MESSAGES/messages.mo | bin | 11044 -> 11111 bytes | |||
-rw-r--r-- | fietsboek/locale/de/LC_MESSAGES/messages.po | 32 | ||||
-rw-r--r-- | fietsboek/locale/en/LC_MESSAGES/messages.mo | bin | 10405 -> 10466 bytes | |||
-rw-r--r-- | fietsboek/locale/en/LC_MESSAGES/messages.po | 32 | ||||
-rw-r--r-- | fietsboek/locale/fietslog.pot | 32 | ||||
-rw-r--r-- | fietsboek/templates/browse.jinja2 | 4 |
6 files changed, 58 insertions, 42 deletions
diff --git a/fietsboek/locale/de/LC_MESSAGES/messages.mo b/fietsboek/locale/de/LC_MESSAGES/messages.mo Binary files differindex c4dab05..a4cc5dc 100644 --- a/fietsboek/locale/de/LC_MESSAGES/messages.mo +++ b/fietsboek/locale/de/LC_MESSAGES/messages.mo diff --git a/fietsboek/locale/de/LC_MESSAGES/messages.po b/fietsboek/locale/de/LC_MESSAGES/messages.po index 4399ede..dcc860d 100644 --- a/fietsboek/locale/de/LC_MESSAGES/messages.po +++ b/fietsboek/locale/de/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-28 19:48+0200\n" +"POT-Creation-Date: 2022-07-30 22:48+0200\n" "PO-Revision-Date: 2022-07-02 17:35+0200\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language: de\n" @@ -130,55 +130,59 @@ msgstr "Zeige nur Strecken, in denen ich markiert bin" msgid "page.browse.filters.apply" msgstr "Filter anwenden" -#: fietsboek/templates/browse.jinja2:91 +#: fietsboek/templates/browse.jinja2:92 +msgid "page.browse.filters.clear_all" +msgstr "Filter zurücksetzen" + +#: fietsboek/templates/browse.jinja2:95 msgid "page.browse.filters.expand_advanced" msgstr "Erweitert" -#: fietsboek/templates/browse.jinja2:111 fietsboek/templates/details.jinja2:86 +#: fietsboek/templates/browse.jinja2:115 fietsboek/templates/details.jinja2:86 msgid "page.details.date" msgstr "Datum" -#: fietsboek/templates/browse.jinja2:113 fietsboek/templates/details.jinja2:98 +#: fietsboek/templates/browse.jinja2:117 fietsboek/templates/details.jinja2:98 msgid "page.details.length" msgstr "Länge" -#: fietsboek/templates/browse.jinja2:117 fietsboek/templates/details.jinja2:90 +#: fietsboek/templates/browse.jinja2:121 fietsboek/templates/details.jinja2:90 msgid "page.details.start_time" msgstr "Startzeit" -#: fietsboek/templates/browse.jinja2:119 fietsboek/templates/details.jinja2:94 +#: fietsboek/templates/browse.jinja2:123 fietsboek/templates/details.jinja2:94 msgid "page.details.end_time" msgstr "Endzeit" -#: fietsboek/templates/browse.jinja2:123 fietsboek/templates/details.jinja2:102 +#: fietsboek/templates/browse.jinja2:127 fietsboek/templates/details.jinja2:102 msgid "page.details.uphill" msgstr "Bergauf" -#: fietsboek/templates/browse.jinja2:125 fietsboek/templates/details.jinja2:106 +#: fietsboek/templates/browse.jinja2:129 fietsboek/templates/details.jinja2:106 msgid "page.details.downhill" msgstr "Bergab" -#: fietsboek/templates/browse.jinja2:129 fietsboek/templates/details.jinja2:110 +#: fietsboek/templates/browse.jinja2:133 fietsboek/templates/details.jinja2:110 msgid "page.details.moving_time" msgstr "Fahrzeit" -#: fietsboek/templates/browse.jinja2:131 fietsboek/templates/details.jinja2:114 +#: fietsboek/templates/browse.jinja2:135 fietsboek/templates/details.jinja2:114 msgid "page.details.stopped_time" msgstr "Haltezeit" -#: fietsboek/templates/browse.jinja2:135 fietsboek/templates/details.jinja2:118 +#: fietsboek/templates/browse.jinja2:139 fietsboek/templates/details.jinja2:118 msgid "page.details.max_speed" msgstr "maximale Geschwindigkeit" -#: fietsboek/templates/browse.jinja2:137 fietsboek/templates/details.jinja2:122 +#: fietsboek/templates/browse.jinja2:141 fietsboek/templates/details.jinja2:122 msgid "page.details.avg_speed" msgstr "durchschnittliche Geschwindigkeit" -#: fietsboek/templates/browse.jinja2:152 +#: fietsboek/templates/browse.jinja2:156 msgid "page.browse.download_multiple" msgstr "ausgewählte Herunterladen" -#: fietsboek/templates/browse.jinja2:154 +#: fietsboek/templates/browse.jinja2:158 msgid "page.browse.no_tracks" msgstr "" "Es wurden keine Strecken gefunden, auf die Du Zugriff hast. Versuche, " diff --git a/fietsboek/locale/en/LC_MESSAGES/messages.mo b/fietsboek/locale/en/LC_MESSAGES/messages.mo Binary files differindex 55f2b49..0d228d8 100644 --- a/fietsboek/locale/en/LC_MESSAGES/messages.mo +++ b/fietsboek/locale/en/LC_MESSAGES/messages.mo diff --git a/fietsboek/locale/en/LC_MESSAGES/messages.po b/fietsboek/locale/en/LC_MESSAGES/messages.po index 9409be5..542a6f9 100644 --- a/fietsboek/locale/en/LC_MESSAGES/messages.po +++ b/fietsboek/locale/en/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-28 19:48+0200\n" +"POT-Creation-Date: 2022-07-30 22:48+0200\n" "PO-Revision-Date: 2022-06-28 13:11+0200\n" "Last-Translator: \n" "Language: en\n" @@ -130,55 +130,59 @@ msgstr "Show only tracks in which I'm tagged" msgid "page.browse.filters.apply" msgstr "Apply filters" -#: fietsboek/templates/browse.jinja2:91 +#: fietsboek/templates/browse.jinja2:92 +msgid "page.browse.filters.clear_all" +msgstr "Remove filters" + +#: fietsboek/templates/browse.jinja2:95 msgid "page.browse.filters.expand_advanced" msgstr "Advanced" -#: fietsboek/templates/browse.jinja2:111 fietsboek/templates/details.jinja2:86 +#: fietsboek/templates/browse.jinja2:115 fietsboek/templates/details.jinja2:86 msgid "page.details.date" msgstr "Date" -#: fietsboek/templates/browse.jinja2:113 fietsboek/templates/details.jinja2:98 +#: fietsboek/templates/browse.jinja2:117 fietsboek/templates/details.jinja2:98 msgid "page.details.length" msgstr "Length" -#: fietsboek/templates/browse.jinja2:117 fietsboek/templates/details.jinja2:90 +#: fietsboek/templates/browse.jinja2:121 fietsboek/templates/details.jinja2:90 msgid "page.details.start_time" msgstr "Record Start" -#: fietsboek/templates/browse.jinja2:119 fietsboek/templates/details.jinja2:94 +#: fietsboek/templates/browse.jinja2:123 fietsboek/templates/details.jinja2:94 msgid "page.details.end_time" msgstr "Record End" -#: fietsboek/templates/browse.jinja2:123 fietsboek/templates/details.jinja2:102 +#: fietsboek/templates/browse.jinja2:127 fietsboek/templates/details.jinja2:102 msgid "page.details.uphill" msgstr "Uphill" -#: fietsboek/templates/browse.jinja2:125 fietsboek/templates/details.jinja2:106 +#: fietsboek/templates/browse.jinja2:129 fietsboek/templates/details.jinja2:106 msgid "page.details.downhill" msgstr "Downhill" -#: fietsboek/templates/browse.jinja2:129 fietsboek/templates/details.jinja2:110 +#: fietsboek/templates/browse.jinja2:133 fietsboek/templates/details.jinja2:110 msgid "page.details.moving_time" msgstr "Moving Time" -#: fietsboek/templates/browse.jinja2:131 fietsboek/templates/details.jinja2:114 +#: fietsboek/templates/browse.jinja2:135 fietsboek/templates/details.jinja2:114 msgid "page.details.stopped_time" msgstr "Stopped Time" -#: fietsboek/templates/browse.jinja2:135 fietsboek/templates/details.jinja2:118 +#: fietsboek/templates/browse.jinja2:139 fietsboek/templates/details.jinja2:118 msgid "page.details.max_speed" msgstr "Max Speed" -#: fietsboek/templates/browse.jinja2:137 fietsboek/templates/details.jinja2:122 +#: fietsboek/templates/browse.jinja2:141 fietsboek/templates/details.jinja2:122 msgid "page.details.avg_speed" msgstr "Average Speed" -#: fietsboek/templates/browse.jinja2:152 +#: fietsboek/templates/browse.jinja2:156 msgid "page.browse.download_multiple" msgstr "Download selected" -#: fietsboek/templates/browse.jinja2:154 +#: fietsboek/templates/browse.jinja2:158 msgid "page.browse.no_tracks" msgstr "You currently do not have access to any tracks. Try logging in." diff --git a/fietsboek/locale/fietslog.pot b/fietsboek/locale/fietslog.pot index 35f136c..47d3c6e 100644 --- a/fietsboek/locale/fietslog.pot +++ b/fietsboek/locale/fietslog.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-28 19:48+0200\n" +"POT-Creation-Date: 2022-07-30 22:48+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -129,55 +129,59 @@ msgstr "" msgid "page.browse.filters.apply" msgstr "" -#: fietsboek/templates/browse.jinja2:91 +#: fietsboek/templates/browse.jinja2:92 +msgid "page.browse.filters.clear_all" +msgstr "" + +#: fietsboek/templates/browse.jinja2:95 msgid "page.browse.filters.expand_advanced" msgstr "" -#: fietsboek/templates/browse.jinja2:111 fietsboek/templates/details.jinja2:86 +#: fietsboek/templates/browse.jinja2:115 fietsboek/templates/details.jinja2:86 msgid "page.details.date" msgstr "" -#: fietsboek/templates/browse.jinja2:113 fietsboek/templates/details.jinja2:98 +#: fietsboek/templates/browse.jinja2:117 fietsboek/templates/details.jinja2:98 msgid "page.details.length" msgstr "" -#: fietsboek/templates/browse.jinja2:117 fietsboek/templates/details.jinja2:90 +#: fietsboek/templates/browse.jinja2:121 fietsboek/templates/details.jinja2:90 msgid "page.details.start_time" msgstr "" -#: fietsboek/templates/browse.jinja2:119 fietsboek/templates/details.jinja2:94 +#: fietsboek/templates/browse.jinja2:123 fietsboek/templates/details.jinja2:94 msgid "page.details.end_time" msgstr "" -#: fietsboek/templates/browse.jinja2:123 fietsboek/templates/details.jinja2:102 +#: fietsboek/templates/browse.jinja2:127 fietsboek/templates/details.jinja2:102 msgid "page.details.uphill" msgstr "" -#: fietsboek/templates/browse.jinja2:125 fietsboek/templates/details.jinja2:106 +#: fietsboek/templates/browse.jinja2:129 fietsboek/templates/details.jinja2:106 msgid "page.details.downhill" msgstr "" -#: fietsboek/templates/browse.jinja2:129 fietsboek/templates/details.jinja2:110 +#: fietsboek/templates/browse.jinja2:133 fietsboek/templates/details.jinja2:110 msgid "page.details.moving_time" msgstr "" -#: fietsboek/templates/browse.jinja2:131 fietsboek/templates/details.jinja2:114 +#: fietsboek/templates/browse.jinja2:135 fietsboek/templates/details.jinja2:114 msgid "page.details.stopped_time" msgstr "" -#: fietsboek/templates/browse.jinja2:135 fietsboek/templates/details.jinja2:118 +#: fietsboek/templates/browse.jinja2:139 fietsboek/templates/details.jinja2:118 msgid "page.details.max_speed" msgstr "" -#: fietsboek/templates/browse.jinja2:137 fietsboek/templates/details.jinja2:122 +#: fietsboek/templates/browse.jinja2:141 fietsboek/templates/details.jinja2:122 msgid "page.details.avg_speed" msgstr "" -#: fietsboek/templates/browse.jinja2:152 +#: fietsboek/templates/browse.jinja2:156 msgid "page.browse.download_multiple" msgstr "" -#: fietsboek/templates/browse.jinja2:154 +#: fietsboek/templates/browse.jinja2:158 msgid "page.browse.no_tracks" msgstr "" diff --git a/fietsboek/templates/browse.jinja2 b/fietsboek/templates/browse.jinja2 index 5b1e77c..169309b 100644 --- a/fietsboek/templates/browse.jinja2 +++ b/fietsboek/templates/browse.jinja2 @@ -87,6 +87,10 @@ <i class="bi bi-funnel-fill"></i> {{ _("page.browse.filters.apply") }} </button> + <a class="btn btn-info" href="{{ request.route_path('browse') }}"> + <i class="bi bi-x-octagon"></i> + {{ _("page.browse.filters.clear_all") }} + </a> <button class="btn btn-secondary" type="button" data-bs-toggle="collapse" data-bs-target="#advancedSearch" aria-expanded="false" aria-controls="advancedSearch"> {{ _("page.browse.filters.expand_advanced") }} </button> |