##// END OF EJS Templates
Small changes to board taglib
neko259 -
r322:6b051ab1 default
parent child Browse files
Show More
@@ -14,9 +14,9 b' def post_url(*args, **kwargs):'
14 post = get_object_or_404(Post, id=post_id)
14 post = get_object_or_404(Post, id=post_id)
15
15
16 if post.thread:
16 if post.thread:
17 link = reverse(thread, kwargs={'post_id': post.thread.id}) \
17 link = reverse(thread, kwargs={'post_id': post.thread.id}) \
18 + '#' + str(post_id)
18 + '#' + str(post_id)
19 else:
19 else:
20 link = reverse(thread, kwargs={'post_id': post_id})
20 link = reverse(thread, kwargs={'post_id': post_id})
21
21
22 return link
22 return link
General Comments 0
You need to be logged in to leave comments. Login now