##// END OF EJS Templates
Rendered post should be considered safe
Rendered post should be considered safe

File last commit:

r1926:cec68725 tenno-seremel/ive...
r1952:4c766e32 default
Show More
authors.py
34 lines | 930 B | text/x-python | PythonLexer
neko259
Small code cleanups
r721 __author__ = 'neko259'
neko259
Added localizations to forms. Do not allow users without session to post.
r211 from django.utils.translation import ugettext_lazy as _
neko259
Small code cleanups
r721 ATTR_ROLES = 'roles'
ATTR_CONTACTS = 'contacts'
ATTR_NAME = 'name'
neko259
Added authors page. This fixes #22
r103
neko259
Added localizations to forms. Do not allow users without session to post.
r211 ROLE_AUTHOR = _('author')
ROLE_DEVELOPER = _('developer')
ROLE_JS_DEV = _('javascript developer')
ROLE_DESIGNER = _('designer')
neko259
Added authors page. This fixes #22
r103 authors = {
'neko259': {
neko259
Small code cleanups
r721 ATTR_NAME: 'Pavel Ryapolov',
ATTR_CONTACTS: ['neko259@gmail.com'],
ATTR_ROLES: [ROLE_AUTHOR, ROLE_DEVELOPER],
neko259
Added authors page. This fixes #22
r103 },
'ilyas': {
neko259
Small code cleanups
r721 ATTR_NAME: 'Ilyas Babayev',
ATTR_CONTACTS: ['zamesilyasa@gmail.com'],
ATTR_ROLES: [ROLE_AUTHOR, ROLE_DEVELOPER],
neko259
Added refmaps for the threads list.
r125 },
'ritsufag': {
neko259
Small code cleanups
r721 ATTR_NAME: 'Aiko Kirino',
ATTR_CONTACTS: ['ritsufag@gmail.com'],
ATTR_ROLES: [ROLE_JS_DEV, ROLE_DESIGNER],
neko259
Added refmaps for the threads list.
r125 },
'Tenno Seremel': {
neko259
Small code cleanups
r721 ATTR_NAME: 'anonymous',
Tenno Seremel
I've got new email now.
r1926 ATTR_CONTACTS: ['tenno-seremel@vivaldi.net'],
neko259
Small code cleanups
r721 ATTR_ROLES: [ROLE_JS_DEV, ROLE_DESIGNER],
neko259
Added refmaps for the threads list.
r125 },
neko259
Added authors page. This fixes #22
r103 }