Project

General

Profile

« Previous | Next » 

Revision 9fa48803

Added by Jérôme Schneider over 9 years ago

ressources: add zip code and city into school dispaly name

View differences:

calebasse/ressources/models.py
234 234
            self.display_name = self.name
235 235
        if self.address:
236 236
            self.display_name += u" - "  + self.address
237
        if self.zip_code:
238
            self.display_name += u" "  + self.zip_code
239
        if self.city:
240
            self.display_name += u" "  + self.city
237 241
        if self.private:
238 242
            self.display_name += u" (Privé)"
239 243
        else:

Also available in: Unified diff