updated state descriptions for application status. fixes #280

This commit is contained in:
Joe Curlee 2013-06-19 12:10:14 -05:00
Родитель e5aaf96431
Коммит 5907740b34
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -29,7 +29,7 @@ module.exports = {
state: {
type: db.type.ENUM,
values: [
'open', // This application is being worked on
'open', // This application is being worked on
'waiting', // This application is waiting for guardian approval (where applicable)
'denied', // This application has been denied by the guardian (where applicable)
'submitted', // This application has been submitted for review
@ -71,13 +71,13 @@ module.exports = {
getStateDescription: function () {
switch (this.state) {
case 'open':
return 'Open';
return 'Application Started';
case 'waiting':
return 'Needs Approval';
return 'Approval Requested';
case 'denied':
return 'Approval Denied';
case 'submitted':
return 'Pending Mentor Review';
return 'Mentor Reviewing';
case 'rejected':
case 'accepted':
return 'Reviewed';