Skip to content

Commit

Permalink
Display "Source: User Upload" to non-staff.
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccacremona committed Oct 24, 2023
1 parent 373bca3 commit c206407
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions perma_web/perma/templates/archive/single-link.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,13 @@
<dd class="tray-detail-entry">Captured by Scoop</dd>
{% endif %}
</div>
{% else %}
{% if link.captured_by_software == 'upload' %}
<div class="tray-detail-group">
<dt class="tray-detail-title">Source</dt>
<dd class="tray-detail-entry">User Upload</dd>
</div>
{% endif %}
{% endif %}
{% if can_delete and not link.capture_job.status == 'in_progress' %}
<div class="tray-detail-group temporary-options">
Expand Down Expand Up @@ -189,6 +196,12 @@
<dt class="tray-detail-title">Description</dt>
<dd class="tray-detail-entry">{{link.submitted_description}}</dd>
</div>
{% if link.captured_by_software == 'upload' %}
<div class="tray-detail-group">
<dt class="tray-detail-title">Source</dt>
<dd class="tray-detail-entry">User Upload</dd>
</div>
{% endif %}
{% endif %}
{% comment %}
{% if link.organization %}
Expand Down

0 comments on commit c206407

Please sign in to comment.