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