mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 08:22:10 +01:00 
			
		
		
		
	Clarify syntheses name
This commit is contained in:
		@@ -169,7 +169,7 @@ class SolutionForm(forms.ModelForm):
 | 
			
		||||
class PoolForm(forms.ModelForm):
 | 
			
		||||
    class Meta:
 | 
			
		||||
        model = Pool
 | 
			
		||||
        fields = ('tournament', 'round', 'bbb_url', 'juries',)
 | 
			
		||||
        fields = ('tournament', 'round', 'bbb_url', 'results_available', 'juries',)
 | 
			
		||||
        widgets = {
 | 
			
		||||
            "juries": forms.CheckboxSelectMultiple,
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
@@ -598,7 +598,12 @@ class Synthesis(models.Model):
 | 
			
		||||
    )
 | 
			
		||||
 | 
			
		||||
    def __str__(self):
 | 
			
		||||
        return _("Synthesis for the {type} of the {passage}").format(type=self.get_type_display(), passage=self.passage)
 | 
			
		||||
        return _("Synthesis of {team} as {type} for problem {problem} of {defender}").format(
 | 
			
		||||
            team=self.participation.team.trigram,
 | 
			
		||||
            type=self.get_type_display(),
 | 
			
		||||
            problem=self.passage.solution_number,
 | 
			
		||||
            defender=self.passage.defender.team.trigram,
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
    class Meta:
 | 
			
		||||
        verbose_name = _("synthesis")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user