From 723f343d05704b63ede7f370fcf22b11719f6069 Mon Sep 17 00:00:00 2001 From: Zarino Zappia Date: Thu, 21 Nov 2024 13:36:49 +0000 Subject: [PATCH] Tidier "Edit" action for assignments on volunteer list --- crowdsourcer/templates/crowdsourcer/icons/edit.svg | 1 + crowdsourcer/templates/crowdsourcer/volunteers/list.html | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 crowdsourcer/templates/crowdsourcer/icons/edit.svg diff --git a/crowdsourcer/templates/crowdsourcer/icons/edit.svg b/crowdsourcer/templates/crowdsourcer/icons/edit.svg new file mode 100644 index 0000000..d4766d0 --- /dev/null +++ b/crowdsourcer/templates/crowdsourcer/icons/edit.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crowdsourcer/templates/crowdsourcer/volunteers/list.html b/crowdsourcer/templates/crowdsourcer/volunteers/list.html index 62fb554..8fc4248 100644 --- a/crowdsourcer/templates/crowdsourcer/volunteers/list.html +++ b/crowdsourcer/templates/crowdsourcer/volunteers/list.html @@ -60,7 +60,7 @@

Volunteers

{% for volunteer in volunteers %} - {{ volunteer.email|default:volunteer.username }} + {{ volunteer.email|default:volunteer.username }} {{ volunteer.marker.response_type|default:"First Mark" }} @@ -69,8 +69,11 @@

Volunteers

{{ volunteer.assigned_section }} - {{ volunteer.num_assignments }} - edit + {{ volunteer.num_assignments }} + + {% include 'crowdsourcer/icons/edit.svg' %} + Edit + {{ volunteer.is_active }}