Skip to content

Commit

Permalink
Only display file deletion option if deauthorized
Browse files Browse the repository at this point in the history
  • Loading branch information
madprime committed Jul 3, 2020
1 parent 3124af9 commit 640d183
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions open_humans/templates/partials/activity-panel-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
{% load utilities %}
{# the "data" panel on an activity page #}
<h2>Your Data</h2>
{% if member_data_files and not project_member %}
<p class="text-muted"><small>
This activity is no longer authorized to add data to your account,
but your account retains these files.
<a href="{% url 'delete-source-data-files' slug=project.slug %}">
Click here to permanently remove these files</a>.
</small></p>
{% endif %}
<table class="table table-hover">
<thead>
<tr>
Expand Down

0 comments on commit 640d183

Please sign in to comment.