Skip to content

Commit

Permalink
Merge pull request #4654 from freedomofpress/fix-select-unread
Browse files Browse the repository at this point in the history
Assign unread checkbox class only to unread submissions
  • Loading branch information
redshiftzero authored Aug 1, 2019
2 parents 74170cb + 74df0e2 commit 20cbd52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion securedrop/journalist_templates/col.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<input type="checkbox" name="doc_names_selected" value="{{ doc.filename }}" class="doc-check unread-cb">
<span title="{{ gettext('Unread') }}" class="icon"><i class="fa fa-envelope"></i></span>
{% else %}
<input type="checkbox" name="doc_names_selected" value="{{ doc.filename }}" class="doc-check unread-cb">
<input type="checkbox" name="doc_names_selected" value="{{ doc.filename }}" class="doc-check">
<span title="{{ gettext('Read') }}" class="icon"><i class="fa fa-envelope-open"></i></span>
{% endif %}
<a class="file {% if not doc.downloaded and not doc.filename.endswith('reply.gpg') %}unread{% else %}read{% endif %}" href="{{ url_for('col.download_single_file', filesystem_id=filesystem_id, fn=doc.filename) }}">
Expand Down

0 comments on commit 20cbd52

Please sign in to comment.