Skip to content

Commit

Permalink
only show reference papers in dataset detail for logged in users for now
Browse files Browse the repository at this point in the history
  • Loading branch information
rwblair committed Feb 4, 2016
1 parent 403902e commit 8303037
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions open_fmri/templates/dataset/dataset_detail.html
Expand Up @@ -101,11 +101,11 @@ <h4>Linked Data:</h4>
<br>
{% endfor %}

{% if ref_papers %}
{% if ref_papers and user.is_authenticated %}
<h4>Papers that Reference this Dataset:</h4>
{% for ref_paper in ref_papers %
{% for ref_paper in ref_papers %}
<p>
{{ paper.title }}<br>
{{ ref_paper.title }}<br>
<a href="{{ ref_paper.url }}">{{ ref_paper.url }}</a><br>
</p>
{% endfor %}
Expand Down

0 comments on commit 8303037

Please sign in to comment.