SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit bf1a8734 authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Remove deadlink for non-authenticated users

parent 45035b18
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@
<div class="row">
<div class="col-12">
{% if not is_author %}
<h2>(you are not identified as an author of this Submission; if you are, you can claim authorship on your Personal Page)</h2>
<h2>You are not identified as an author of this Submission; if you are, you can claim authorship on your Personal Page.</h2>
{% else %}
<h2>The Submission concerned:</h2>
......
from django.db import models
from django.db.models import F
from django.utils import timezone
from .constants import MEMBERSHIP_SUBMITTED, PROSPECTIVE_PARTNER_PROCESSED, REQUEST_INITIATED
......
{% extends 'submissions/_single_public_report_without_comments.html' %}
{% block single_report_footer %}
<hr class="small">
<h3><a href="{% url 'comments:reply_to_report' report_id=report.id %}">Reply to this Report</a> (authors only)</h3>
{% if user.is_authenticated and perms.scipost.can_submit_comments %}
<hr class="small">
<h3><a href="{% url 'comments:reply_to_report' report_id=report.id %}">Reply to this Report</a> (authors only)</h3>
{% endif %}
{% for reply in report.comment_set.vetted %}
{% include 'comments/_single_comment_with_link.html' with comment=reply perms=perms user=user %}
......
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