##// END OF EJS Templates
Fixed bumplimit progress float view (wrong float delimiter not parsed by CSS)
neko259 -
r289:d36c11a8 default
parent child Browse files
Show More
@@ -178,8 +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'] = str(float(context['posts_left']) /
182 neboard.settings.MAX_POSTS_PER_THREAD * 100
182 neboard.settings.MAX_POSTS_PER_THREAD * 100)
183
183
184 return render(request, 'boards/thread.html', context)
184 return render(request, 'boards/thread.html', context)
185
185
General Comments 0
You need to be logged in to leave comments. Login now