Changeset - 5948aacd93f4
[Not reviewed]
0 1 0
Hiroshi Miura - 9 years ago 2015-06-17 02:43:02
miurahr@linux.com
Internatinalize status label - undecided

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
symposion/proposals/models.py
Show inline comments
...
 
@@ -127,13 +127,13 @@ class ProposalBase(models.Model):
 

	
 
    @property
 
    def status(self):
 
        try:
 
            return self.result.status
 
        except ObjectDoesNotExist:
 
            return 'undecided'
 
            return _('Undecided')
 

	
 
    def speakers(self):
 
        yield self.speaker
 
        speakers = self.additional_speakers.exclude(
 
            additionalspeaker__status=AdditionalSpeaker.SPEAKING_STATUS_DECLINED)
 
        for speaker in speakers:
0 comments (0 inline, 0 general)