public void FillNotEditable(ProjectField field, int currentUserId)
 {
     DropdownValues = field.GetOrderedValues()
                      .Select(fv => new GameFieldDropdownValueListItemViewModel(fv))
                      .MarkFirstAndLast();
     FieldViewType = (ProjectFieldViewType)field.FieldType;
     FieldBoundTo  = (FieldBoundToViewModel)field.FieldBoundTo;
     IsActive      = field.IsActive;
     HasValueList  = field.HasValueList();
     CanEditFields = field.HasMasterAccess(currentUserId, acl => acl.CanChangeFields);
 }
 public void FillNotEditable(ProjectField field, int currentUserId)
 {
     DropdownValues = field.GetOrderedValues()
                      .Select(fv => new GameFieldDropdownValueListItemViewModel(fv))
                      .MarkFirstAndLast();
     FieldViewType      = (ProjectFieldViewType)field.FieldType;
     FieldBoundTo       = (FieldBoundToViewModel)field.FieldBoundTo;
     IsActive           = field.IsActive;
     HasValueList       = field.HasValueList();
     WasEverUsed        = field.WasEverUsed;
     CanEditFields      = field.HasMasterAccess(currentUserId, acl => acl.CanChangeFields);
     CanDeleteField     = CanEditFields && !field.IsName() && !field.IsRoomSlot() && !field.IsTimeSlot();
     IsTimeField        = field.IsTimeSlot();
     SupportsMassAdding = field.SupportsMassAdding();
 }