Students cannot change due date, admins can
This commit is contained in:
parent
538490087d
commit
7265b07e0e
@ -278,6 +278,7 @@ namespace EduNetworkBuilder
|
||||
{
|
||||
btnGenerateStudentFiles.Visible = true;
|
||||
btnImportStudents.Visible = true;
|
||||
dtpHWDue.Enabled = true;
|
||||
|
||||
|
||||
TreeNode Node;
|
||||
@ -312,6 +313,7 @@ namespace EduNetworkBuilder
|
||||
if (CurrentUser == null) return;
|
||||
btnGenerateStudentFiles.Visible = false;
|
||||
btnImportStudents.Visible = false;
|
||||
dtpHWDue.Enabled = false;
|
||||
TreeNode Top = CurrentUser.WorkTree();
|
||||
if (Top != null)
|
||||
tvClasswork.Nodes.Add(Top);
|
||||
|
Loading…
Reference in New Issue
Block a user