##// END OF EJS Templates
Strip multiple newlines to one in the post before parsing with bbcode
Strip multiple newlines to one in the post before parsing with bbcode

File last commit:

r721:1814d7a8 default
r754:6cc0010d default
Show More
authors.py
34 lines | 924 B | text/x-python | PythonLexer
__author__ = 'neko259'
from django.utils.translation import ugettext_lazy as _
ATTR_ROLES = 'roles'
ATTR_CONTACTS = 'contacts'
ATTR_NAME = 'name'
ROLE_AUTHOR = _('author')
ROLE_DEVELOPER = _('developer')
ROLE_JS_DEV = _('javascript developer')
ROLE_DESIGNER = _('designer')
authors = {
'neko259': {
ATTR_NAME: 'Pavel Ryapolov',
ATTR_CONTACTS: ['neko259@gmail.com'],
ATTR_ROLES: [ROLE_AUTHOR, ROLE_DEVELOPER],
},
'ilyas': {
ATTR_NAME: 'Ilyas Babayev',
ATTR_CONTACTS: ['zamesilyasa@gmail.com'],
ATTR_ROLES: [ROLE_AUTHOR, ROLE_DEVELOPER],
},
'ritsufag': {
ATTR_NAME: 'Aiko Kirino',
ATTR_CONTACTS: ['ritsufag@gmail.com'],
ATTR_ROLES: [ROLE_JS_DEV, ROLE_DESIGNER],
},
'Tenno Seremel': {
ATTR_NAME: 'anonymous',
ATTR_CONTACTS: ['html@serenareem.net'],
ATTR_ROLES: [ROLE_JS_DEV, ROLE_DESIGNER],
},
}