diff --git a/locale/fr/LC_MESSAGES/django.mo b/locale/fr/LC_MESSAGES/django.mo index cba5ee3..b1662d9 100644 Binary files a/locale/fr/LC_MESSAGES/django.mo and b/locale/fr/LC_MESSAGES/django.mo differ diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po index 7c21f26..d480719 100644 --- a/locale/fr/LC_MESSAGES/django.po +++ b/locale/fr/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-11-14 22:09+0000\n" +"POT-Creation-Date: 2016-11-14 22:22+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -138,7 +138,7 @@ msgid "Goodbye!" msgstr "Au revoir !" #: accounts/templates/accounts/participant_details.html:12 -#: proposals/templates/proposals/speaker_list.html:92 +#: proposals/templates/proposals/speaker_list.html:97 #: volunteers/templates/volunteers/volunteer_list.html:48 msgid "Contact" msgstr "Contacter" @@ -683,7 +683,9 @@ msgstr "Exposés proposés pour un tier :" #: proposals/templates/proposals/participate.html:23 msgid "The Call for Participation is currently open for following categories:" -msgstr "L’appel à participation est actuellement ouvert pour les catégories suivantes :" +msgstr "" +"L’appel à participation est actuellement ouvert pour les catégories " +"suivantes :" #: proposals/templates/proposals/participate.html:26 #, python-format @@ -749,6 +751,10 @@ msgstr "Hébergement ?" msgid "Need sound?" msgstr "Son ?" +#: proposals/templates/proposals/speaker_list.html:59 +msgid "Contact:" +msgstr "Contacter :" + #: proposals/templates/proposals/talk_decide.html:9 msgid "Are you sure to accept this proposals?" msgstr "Êtes-vous sûr d’accepter cette propositon d’intervention ?" @@ -980,15 +986,15 @@ msgstr "Vote mis à jour" msgid "Decision taken in account" msgstr "Décision enregistrée" -#: proposals/views.py:429 +#: proposals/views.py:431 msgid "Unregistered :-(" msgstr "Vous avez été désinscrit :-(" -#: proposals/views.py:431 +#: proposals/views.py:433 msgid "Already registered!" msgstr "Vous êtes déjà inscrit !" -#: proposals/views.py:436 +#: proposals/views.py:438 msgid "Registered!" msgstr "Vous avez été inscrit !" diff --git a/proposals/templates/proposals/speaker_list.html b/proposals/templates/proposals/speaker_list.html index e2b4f1e..2ed02e9 100644 --- a/proposals/templates/proposals/speaker_list.html +++ b/proposals/templates/proposals/speaker_list.html @@ -54,6 +54,11 @@ + + + {% trans "Contact:" %}lien + + {% for speaker in speaker_list %} {% if forloop.first %} diff --git a/proposals/views.py b/proposals/views.py index 083732f..d0f6767 100644 --- a/proposals/views.py +++ b/proposals/views.py @@ -391,10 +391,12 @@ def speaker_list(request): if data['accommodation_booked'] != None: show_filters = True speakers = speakers.exclude(accommodation=Participation.ACCOMMODATION_NO).filter(accommodation_booked=data['accommodation_booked']) + contact_link = 'mailto:' + ','.join([speaker.user.email for speaker in speakers.all() if speaker.user.email]) return render(request, 'proposals/speaker_list.html', { 'speaker_list': speakers, 'filter_form': filter_form, 'show_filters': show_filters, + 'contact_link': contact_link, })