mirror of https://gitlab.com/tildes/tildes.git
Browse Source
Previously I was just using Jinja's built-in loop.depth0 to output comment depth in HTML, but actually attaching a depth attribute to the comments will allow it to be used elsewhere as well. It's possible this should even be on the Comment model itself, since it never changes and might be useful in other ways.merge-requests/85/head
Deimos
5 years ago
3 changed files with 10 additions and 1 deletions
Loading…
Reference in new issue