Show More
@@ -178,10 +178,8 b' def thread(request, post_id):' | |||||
178 | if context['bumpable']: |
|
178 | if context['bumpable']: | |
179 | context['posts_left'] = neboard.settings.MAX_POSTS_PER_THREAD - len( |
|
179 | context['posts_left'] = neboard.settings.MAX_POSTS_PER_THREAD - len( | |
180 | posts) |
|
180 | posts) | |
181 | context['bumplimit_progress'] = float(context['posts_left']) / |
|
181 | context['bumplimit_progress'] = float(context['posts_left']) / \ | |
182 | neboard |
|
182 | neboard.settings.MAX_POSTS_PER_THREAD * 100 | |
183 | .settings.MAX_POSTS_PER_THREAD |
|
|||
184 | * 100 |
|
|||
185 |
|
183 | |||
186 | return render(request, 'boards/thread.html', context) |
|
184 | return render(request, 'boards/thread.html', context) | |
187 |
|
185 |
General Comments 0
You need to be logged in to leave comments.
Login now