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).

Location:
main/waeup.sirp/trunk/src/waeup/sirp/browser
Files:
2 edited

Legend:

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

    r6246 r6247  
    223223  >>> print browser.contents
    224224  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
    225   ...<li class="message">The code chosen already exists in the database.</li>
     225  ...<li class="message">The code chosen already exists in this faculty.</li>
    226226  ...
    227227
  • 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.