##// END OF EJS Templates
Added template tag to render post the same way in all places (threads list, thread view, post view)
Added template tag to render post the same way in all places (threads list, thread view, post view)

File last commit:

r211:5a120222 default
r537:32f43bd2 default
Show More
authors.py
30 lines | 820 B | text/x-python | PythonLexer
neko259
Added localizations to forms. Do not allow users without session to post.
r211 from django.utils.translation import ugettext_lazy as _
neko259
Added authors page. This fixes #22
r103 __author__ = 'neko259'
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': {
'name': 'Pavel Ryapolov',
'contacts': ['neko259@gmail.com'],
neko259
Added localizations to forms. Do not allow users without session to post.
r211 'roles': [ROLE_AUTHOR, ROLE_DEVELOPER],
neko259
Added authors page. This fixes #22
r103 },
'ilyas': {
'name': 'Ilyas Babayev',
'contacts': ['zamesilyasa@gmail.com'],
neko259
Added localizations to forms. Do not allow users without session to post.
r211 'roles': [ROLE_AUTHOR, ROLE_DEVELOPER],
neko259
Added refmaps for the threads list.
r125 },
'ritsufag': {
'name': 'Aiko Kirino',
'contacts': ['ritsufag@gmail.com'],
neko259
Added localizations to forms. Do not allow users without session to post.
r211 'roles': [ROLE_JS_DEV, ROLE_DESIGNER],
neko259
Added refmaps for the threads list.
r125 },
'Tenno Seremel': {
'name': 'anonymous',
'contacts': ['html@serenareem.net'],
neko259
Added localizations to forms. Do not allow users without session to post.
r211 'roles': [ROLE_JS_DEV, ROLE_DESIGNER],
neko259
Added refmaps for the threads list.
r125 },
neko259
Added authors page. This fixes #22
r103 }