mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 07:42:11 +01:00 
			
		
		
		
	Fix information for juries
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
		@@ -17,8 +17,6 @@ from django.utils.text import format_lazy
 | 
			
		||||
from django.utils.translation import gettext_lazy as _
 | 
			
		||||
from phonenumber_field.modelfields import PhoneNumberField
 | 
			
		||||
from polymorphic.models import PolymorphicModel
 | 
			
		||||
 | 
			
		||||
from participation.models import Note
 | 
			
		||||
from tfjm import helloasso
 | 
			
		||||
from tfjm.tokens import email_validation_token
 | 
			
		||||
 | 
			
		||||
@@ -553,7 +551,7 @@ class VolunteerRegistration(Registration):
 | 
			
		||||
                        'content': content,
 | 
			
		||||
                    })
 | 
			
		||||
 | 
			
		||||
                for note in Note.objects.filter(jury=self.request.user, passage__pool=pool).all():
 | 
			
		||||
                for note in self.notes.filter(passage__pool=pool).all():
 | 
			
		||||
                    if not note.has_any_note():
 | 
			
		||||
                        text = _("<p>You don't have given any note as a jury for the passage {passage} "
 | 
			
		||||
                                 "in the pool {pool} of {tournament}. "
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user