##// END OF EJS Templates
Removed obsolete constants from views
neko259 -
r1044:623bbefd default
parent child Browse files
Show More
@@ -8,13 +8,6 b" CONTEXT_BUMPLIMIT_PRG = 'bumplimit_progr"
8 CONTEXT_POSTS_LEFT = 'posts_left'
8 CONTEXT_POSTS_LEFT = 'posts_left'
9 CONTEXT_BUMPABLE = 'bumpable'
9 CONTEXT_BUMPABLE = 'bumpable'
10
10
11 FORM_TITLE = 'title'
12 FORM_TEXT = 'text'
13 FORM_IMAGE = 'image'
14
15 MODE_GALLERY = 'gallery'
16 MODE_NORMAL = 'normal'
17
18
11
19 class NormalThreadView(ThreadView):
12 class NormalThreadView(ThreadView):
20
13
@@ -11,17 +11,9 b' from boards.views.posting_mixin import P'
11 import neboard
11 import neboard
12
12
13
13
14 TEMPLATE_GALLERY = 'boards/thread_gallery.html'
15 TEMPLATE_NORMAL = 'boards/thread.html'
16
17 CONTEXT_POSTS = 'posts'
18 CONTEXT_OP = 'opening_post'
19 CONTEXT_BUMPLIMIT_PRG = 'bumplimit_progress'
20 CONTEXT_POSTS_LEFT = 'posts_left'
21 CONTEXT_LASTUPDATE = "last_update"
14 CONTEXT_LASTUPDATE = "last_update"
22 CONTEXT_MAX_REPLIES = 'max_replies'
15 CONTEXT_MAX_REPLIES = 'max_replies'
23 CONTEXT_THREAD = 'thread'
16 CONTEXT_THREAD = 'thread'
24 CONTEXT_BUMPABLE = 'bumpable'
25 CONTEXT_WS_TOKEN = 'ws_token'
17 CONTEXT_WS_TOKEN = 'ws_token'
26 CONTEXT_WS_PROJECT = 'ws_project'
18 CONTEXT_WS_PROJECT = 'ws_project'
27 CONTEXT_WS_HOST = 'ws_host'
19 CONTEXT_WS_HOST = 'ws_host'
General Comments 0
You need to be logged in to leave comments. Login now