Hide delete, give and save buttons if we are not the teacher.
This commit is contained in:
parent
69df135025
commit
c31133f786
@ -527,6 +527,12 @@ namespace EduNetworkBuilder
|
||||
btnHWSave.Visible = true;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
btnHWDelete.Visible = false; //Only the teacher can delete the homework
|
||||
btnHWGive.Visible = false;
|
||||
btnHWSave.Visible = false;
|
||||
}
|
||||
btnLaunch.Visible = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user