Skip to content

Commit

Permalink
improved working for open assignments
Browse files Browse the repository at this point in the history
  • Loading branch information
cash committed Apr 5, 2024
1 parent aa44e5a commit ea2239f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion turkle/templates/turkle/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h5>Accept next Task</h5>
<hr>
<p>
The task is assigned to you.
If you do not finish it, you will be reminded on the main page that you have open the task.
If you do not finish it, you will be reminded on the main page that you have remaining open tasks.
If you do not complete it by the deadline, it is returned to the task list.
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions turkle/templates/turkle/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ <h3><i class="bi bi-clock-history"> </i>Open Assignments</h3>
</table>
</div>
{% else %}
<div class="alert alert-info">No open assignments. Accept a new task to open an assignment.</div>
<div class="alert alert-info">No open assignments. Accept a new task to start an assignment.</div>
{% endif %}
</div>
</div>
Expand Down Expand Up @@ -255,4 +255,4 @@ <h4>
}

</script>
{% endblock %}
{% endblock %}
2 changes: 1 addition & 1 deletion turkle/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ def test_index_open_assignment(self):
client.login(username='testuser', password='secret')
response = client.get(reverse('index'))
self.assertEqual(response.status_code, 200)
self.assertFalse(b'No open assignments. Accept a new task to open an assignment.'
self.assertFalse(b'No open assignments. Accept a new task to start an assignment.'
in response.content)

def test_index_open_assignment_from_inactive_batch(self):
Expand Down

0 comments on commit ea2239f

Please sign in to comment.