Initial changes to support the new Django 1.6 project structure
This commit is contained in:
16
mayan/apps/checkouts/literals.py
Normal file
16
mayan/apps/checkouts/literals.py
Normal file
@@ -0,0 +1,16 @@
|
||||
from __future__ import absolute_import
|
||||
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
STATE_CHECKED_OUT = 'checkedout'
|
||||
STATE_CHECKED_IN = 'checkedin'
|
||||
|
||||
STATE_ICONS = {
|
||||
STATE_CHECKED_OUT: 'basket_put.png',
|
||||
STATE_CHECKED_IN: 'traffic_lights_green.png',
|
||||
}
|
||||
|
||||
STATE_LABELS = {
|
||||
STATE_CHECKED_OUT: _(u'checked out'),
|
||||
STATE_CHECKED_IN: _(u'checked in/available'),
|
||||
}
|
||||
Reference in New Issue
Block a user