numbas / Numbas

A completely browser-based e-assessment/e-learning system, with an emphasis on mathematics
http://www.numbas.org.uk
Apache License 2.0
203 stars 117 forks source link

On the suspend screen, don't say "Paused" when pausing is not allowed #785

Closed christianp closed 2 years ago

christianp commented 3 years ago

When resuming an attempt, the student is first shown the suspend screen. At the moment it has a big header saying "Paused". When pausing is not allowed, this is inaccurate. It should say something like "Attempt resumed".

This text comes from the key "suspend.paused header" in https://github.com/numbas/Numbas/blob/master/locales/en-GB.json#L43

I think this should instead be an observable property, which begins saying "Attempt resumed", and changes to "Paused" when the student presses the Pause button.

rishi-lgtm commented 3 years ago

Hi @christianp , can you please elaborate on the interface required for displaying the message pivoting on which inputs?

webbdays commented 2 years ago

When resuming an attempt, Why not just display, "Progress of Previous attempt is saved". "Attempt is ready to Resume". and ask the user: Are you ready to "Resume attempt".

It will satisfy both needs.