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;
|
btnGenerateStudentFiles.Visible = true;
|
||||||
btnImportStudents.Visible = true;
|
btnImportStudents.Visible = true;
|
||||||
|
dtpHWDue.Enabled = true;
|
||||||
|
|
||||||
|
|
||||||
TreeNode Node;
|
TreeNode Node;
|
||||||
@ -312,6 +313,7 @@ namespace EduNetworkBuilder
|
|||||||
if (CurrentUser == null) return;
|
if (CurrentUser == null) return;
|
||||||
btnGenerateStudentFiles.Visible = false;
|
btnGenerateStudentFiles.Visible = false;
|
||||||
btnImportStudents.Visible = false;
|
btnImportStudents.Visible = false;
|
||||||
|
dtpHWDue.Enabled = false;
|
||||||
TreeNode Top = CurrentUser.WorkTree();
|
TreeNode Top = CurrentUser.WorkTree();
|
||||||
if (Top != null)
|
if (Top != null)
|
||||||
tvClasswork.Nodes.Add(Top);
|
tvClasswork.Nodes.Add(Top);
|
||||||
|
Loading…
Reference in New Issue
Block a user