From 48fc1654e7a8c7fb1bd6b9e4e3f41faf0631dfe3 Mon Sep 17 00:00:00 2001 From: Axel Haustant Date: Thu, 31 Jan 2019 17:17:03 +0100 Subject: [PATCH] Use followers accross all searches Fix etalab/data.gouv.fr#110 --- CHANGELOG.md | 1 + udata/templates/dataset/list.html | 10 +++++----- udata/templates/dataset/search-result.html | 2 +- udata/templates/organization/search-result.html | 11 +---------- udata/templates/reuse/search-result.html | 4 ++-- 5 files changed, 10 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c84089bad..407cecca4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ - Major form fixes [#2000](https://github.com/opendatateam/udata/pull/2000) - Improved admin errors handling: visual feedback on all errors, `Sentry-ID` header if present, hide organization unauthorized actions [#2005](https://github.com/opendatateam/udata/pull/2005) - Expose and import licenses `alternate_urls` and `alternate_titles` fields [#2006](https://github.com/opendatateam/udata/pull/2006) +- Be consistent on search results wording and picto (Stars vs Followers) ## 1.6.2 (2018-11-05) diff --git a/udata/templates/dataset/list.html b/udata/templates/dataset/list.html index 7702dab175..15ca8c09fb 100644 --- a/udata/templates/dataset/list.html +++ b/udata/templates/dataset/list.html @@ -15,7 +15,7 @@ {% block breadcrumb %}
  • - + {{ _('Datasets') }} {% if datasets.total > 0 %} @@ -24,7 +24,7 @@ end=datasets.page_end, total=datasets.total) }} {% endif %} - + {% include "dataset/search-labels.html" %}
  • {% endblock %} @@ -41,7 +41,7 @@ created=(_('Creation date'), 'desc'), last_modified=(_('Last modification date'), 'desc'), reuses=(_('Reuses'), 'desc'), - followers=(_('Stars'), 'desc') + followers=(_('Followers'), 'desc') ) }} {% endblock %} @@ -49,7 +49,7 @@ {% block main_content %}
    - {% if datasets %} + {% if datasets %}