SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 76a12838 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Fix critical bug in Comments

parent 8ca0fc20
No related branches found
No related tags found
No related merge requests found
<div class="card-body card-comment">
{% block card_block_header %}{% endblock %}
<p class="card-text">
<a href="{{comment.author.get_absolute_url}}">{{comment.author.user.first_name}} {{comment.author.user.last_name}}</a>:
{% if comment.anonymous %}
Anonymous:
{% else %}
<a href="{{comment.author.get_absolute_url}}">{{comment.author.user.first_name}} {{comment.author.user.last_name}}</a>:
{% endif %}
<a href="{{comment.get_absolute_url}}">
"{{comment.comment_text|slice:'30'}}{% if comment.comment_text|length > 30 %}...{% endif %}"
</a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment