mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 12:16:37 -04:00
28 lines
No EOL
449 B
JavaScript
28 lines
No EOL
449 B
JavaScript
/**
|
|
* Posts config namespace
|
|
* @type {Object}
|
|
*/
|
|
Posts.config = {};
|
|
|
|
|
|
/**
|
|
* Post Statuses
|
|
*/
|
|
Posts.config.postStatuses = [
|
|
{
|
|
value: 1,
|
|
label: function(){return i18n.t('pending');}
|
|
},
|
|
{
|
|
value: 2,
|
|
label: function(){return i18n.t('approved');}
|
|
},
|
|
{
|
|
value: 3,
|
|
label: function(){return i18n.t('rejected');}
|
|
}
|
|
];
|
|
|
|
Posts.config.STATUS_PENDING = 1;
|
|
Posts.config.STATUS_APPROVED = 2;
|
|
Posts.config.STATUS_REJECTED = 3; |