Ignore:
Timestamp:
30 May 2011, 08:27:48 (13 years ago)
Author:
Henrik Bettermann
Message:

Be more precise and let managers know that the code exists in the respective container. This implies that faculty and department codes must only be unique in their container but not throughout the portal (in contrast to courses and certificates).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py

    r6246 r6247  
    953953            self.context.addFaculty(faculty)
    954954        except KeyError:
    955             self.status = self.flash('The code chosen already exists '
    956                                   'in the database.')
     955            self.status = self.flash('The faculty code chosen already exists.')
    957956            return
    958957        self.redirect(self.url(self.context, u'@@manage')+'#tab-1')
     
    10941093        except KeyError:
    10951094            self.status = self.flash('The code chosen already exists '
    1096                                   'in the database.')
     1095                                  'in this faculty.')
    10971096            return
    10981097        self.redirect(self.url(self.context, u'@@manage')+'#tab-2')
Note: See TracChangeset for help on using the changeset viewer.