Skip to content

Commit

Permalink
#3097 moves if block in material's preprint tempalte.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajrbyers committed Aug 13, 2024
1 parent d153622 commit cda4866
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/themes/material/templates/repository/preprint.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
{% endif %}
</div>
{% endif %}
{% if request.repository.enable_comments %}
<div class="card">
<div class="card-content">
<span class="card-title">{% trans 'Add a Comment' %}</span>
Expand All @@ -81,7 +82,6 @@
<p>You must <a href="{% url 'core_login' %}">log in</a> to post a comment.</p>

{% endif %}
{% if request.repository.enable_comments %}
<div class="divider"></div>
<br />
<div class="comment-scroll">
Expand Down Expand Up @@ -121,9 +121,9 @@
</div>
{% endfor %}
</div>
{% endif %}
</div>
</div>
{% endif %}
</div>
</div>

Expand Down

0 comments on commit cda4866

Please sign in to comment.