diff --git a/comments/models.py b/comments/models.py index afec36f918dcdd36218190beacde71b5017f47b5..5a021210e2f900c61ae5ed94f9abb0b9630114c3 100644 --- a/comments/models.py +++ b/comments/models.py @@ -244,9 +244,8 @@ class Comment(TimeStampedModel): citation += '%s %s, ' % (self.author.user.first_name, self.author.user.last_name) if self.is_authorreply: - citation += 'SciPost Author Replies ' + citation += 'SciPost Author Replies, ' else: - citation += 'SciPost Comments ' - citation += '(%s), doi:' % self.date_submitted.strftime('%Y') - citation += self.doi_string + citation += 'SciPost Comments, ' + citation += 'doi: %s' % self.doi_string return citation diff --git a/scipost/static/scipost/assets/css/_reports.scss b/scipost/static/scipost/assets/css/_reports.scss index 30ee19e1326011dad371d4ceb5b085c2876cd638..5202c697961d007b3d75528d2f25c13cc6d648c4 100644 --- a/scipost/static/scipost/assets/css/_reports.scss +++ b/scipost/static/scipost/assets/css/_reports.scss @@ -10,11 +10,7 @@ } .citation { - color: $scipost-lightblue; - - &:hover { - text-decoration: underline; - } + font-style: italic; } } } diff --git a/submissions/models.py b/submissions/models.py index 25429f17c52a60e6b6dd83ec3e1c9494ba22cf10..a29f7e6ea41a6fe74fd57f39779ef38e9abd2275 100644 --- a/submissions/models.py +++ b/submissions/models.py @@ -531,7 +531,7 @@ class Report(SubmissionRelatedObjectMixin, models.Model): else: citation += '%s %s, ' % (self.author.user.first_name, self.author.user.last_name) citation += 'Report on %s, ' % self.submission.arxiv_identifier_w_vn_nr - citation += self.doi_string + citation += 'doi: %s' % self.doi_string return citation diff --git a/submissions/templates/submissions/_single_public_report_without_comments.html b/submissions/templates/submissions/_single_public_report_without_comments.html index 9cef73f77f565c5487321f0c12109f78d5a9a575..cd8eb08c4e13a30191911d32ba41659cabd55884 100644 --- a/submissions/templates/submissions/_single_public_report_without_comments.html +++ b/submissions/templates/submissions/_single_public_report_without_comments.html @@ -71,7 +71,12 @@ </li> {% endif %} {% if perms.scipost.can_manage_reports %} - <li><a href="{% url 'submissions:report_pdf_compile' report.id %}">Update/Compile the Report pdf</a></li> + <h3 class="mt-2">Administration</h3> + <ul> + <li><a href="{% url 'submissions:report_pdf_compile' report.id %}">Update/Compile the Report pdf</a></li> + <li>Mark DOI as <a href="{% url 'journals:mark_report_doi_needed' report_id=report.id needed=1 %}">needed</a> / <a href="{% url 'journals:mark_report_doi_needed' report_id=report.id needed=0 %}">not needed</a></li> + <li><a href="{% url 'journals:generic_metadata_xml_deposit' type_of_object='report' object_id=report.id %}">Create the metadata and deposit it to Crossref</a></li> + </ul> {% endif %} </ul> </div>