Added a 'draft' string to "view" and used that in the template.
Updated the 'draft' string in "blocktype.peerassessment/peerassessment"
to 'savedraft' to prevent confusion.
Added 'pubstatus' to the item if it is private and set this to Draft.
Added pubstatus to the template if set to private. Style for this
replicates the private status on Bug 1912414.
Change-Id: I9cb0b20f9e00536e3162c3f83583b4877a6913a9
(cherry picked from commit e105d8aa6909d59783aeceaafd4307350ad95437)
Reviewed: https:/ /reviews. mahara. org/11597 /git.mahara. org/mahara/ mahara/ commit/ 5502148244239c5 352c73a5e2ab62a ac7292088e
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: 20.10_STABLE
commit 5502148244239c5 352c73a5e2ab62a ac7292088e
Author: Gold <email address hidden>
Date: Fri Jan 29 11:30:31 2021 +1300
Bug 1895066 - add text indcator of draft state to peer assessment
Draft peer assessment needs additional indicator besides colour
Added a 'draft' string to "view" and used that in the template. peerassessment/ peerassessment"
Updated the 'draft' string in "blocktype.
to 'savedraft' to prevent confusion.
Added 'pubstatus' to the item if it is private and set this to Draft.
Added pubstatus to the template if set to private. Style for this
replicates the private status on Bug 1912414.
Change-Id: I9cb0b20f9e0053 6e3162c3f83583b 4877a6913a9 783aeceaafd4307 350ad95437)
(cherry picked from commit e105d8aa6909d59