Index registrations by first name, last name and email

This commit is contained in:
Yohann D'ANELLO 2020-10-15 17:14:25 +02:00
parent a2fd82ee96
commit 9e097c99d0
5 changed files with 13 additions and 4 deletions

View File

@ -1,4 +1,5 @@
{{ object.user.last_name }}
{{ object.user.first_name }}
{{ object.user.email }}
{{ object.type }}
{{ object.role }}

View File

@ -1,4 +1,6 @@
{{ object.user }}
{{ object.user.first_name }}
{{ object.user.last_name }}
{{ object.user.email }}
{{ object.type }}
{{ object.professional_activity }}
{{ object.team.name }}

View File

@ -1,4 +1,6 @@
{{ object.user }}
{{ object.user.first_name }}
{{ object.user.last_name }}
{{ object.user.email }}
{{ object.type }}
{{ object.student_class }}
{{ object.school }}

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Corres2math\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-15 16:01+0200\n"
"POT-Creation-Date: 2020-10-15 17:12+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Yohann D'ANELLO <yohann.danello@animath.fr>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -920,3 +920,7 @@ msgstr "Chercher"
#: templates/search/search.html:16
msgid "Results"
msgstr "Résultats"
#: templates/search/search.html:24
msgid "No results found."
msgstr "Aucun résultat."

View File

@ -21,7 +21,7 @@
<a href="{{ result.object.get_absolute_url }}">{{ result.object }}</a>
</p>
{% empty %}
<p>No results found.</p>
<p>{% trans "No results found." %}</p>
{% endfor %}
{% if page.has_previous or page.has_next %}